Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
flutter-mythbusting-02
class MyWidget1 extends StatelessWidget {
const MyWidget1({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
print('MyWidget1 is building');
return Container(
child: Text("Stateless Widget1", style: TextStyle(fontSize: 30)));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment