Skip to content

Instantly share code, notes, and snippets.

@Eng-MFQ
Last active September 26, 2021 11:46
Show Gist options
  • Save Eng-MFQ/df4659f6ef949ccdc07f6056451362c7 to your computer and use it in GitHub Desktop.
Save Eng-MFQ/df4659f6ef949ccdc07f6056451362c7 to your computer and use it in GitHub Desktop.
Stateful widget template to copy
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
/// Stateful widget template to copy
class StateFullWidgetTemplate extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return StateFullWidgetTemplateState();
}
}
/// setState(() {
///
/// });
class StateFullWidgetTemplateState extends State<StateFullWidgetTemplate> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Text('create a basket ball counter with 3 buttons'),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment