Stateful Widget
A Stateless widget is a widget that can change its state.
class name extends StatefulWidget {
@override
State<name> createState() => _name();
}
class _name extends State<name> {
@override
Widget build(BuildContext context) {
return //here the Widgets example π Container()
);
}
}Last updated