class MyApp extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _MyAppState();
}
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return Container(color: const Color(0xFFFFE306));
}
}
class MyClass extends StatefulWidget {
@override
MyClassState createState() => new MyClassState();
}
class MyClassState extends State<MyClass> {
//Widgets and other code here
}