flutter-mythbusting-03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyWidget2 extends StatefulWidget { | |
const MyWidget2({Key? key}) : super(key: key); | |
@override | |
_MyWidget2State createState() => _MyWidget2State(); | |
} | |
class _MyWidget2State extends State<MyWidget2> { | |
@override | |
Widget build(BuildContext context) { | |
print('MyWidget2 is building'); | |
return Container( | |
child: Text("Stateful Widget", style: TextStyle(fontSize: 30))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment