Stateless Widget
A Stateless widget is a widget that can't change its state.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return //add here the widgets: example π Container()
}
}Last updated
A Stateless widget is a widget that can't change its state.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return //add here the widgets: example π Container()
}
}Last updated