A dynamic widget which can change its appearance in response to events triggered by user interactions or when it receives data. Select one: Stateful widget Flex Widget Dynamic widget Main Widget code example
Example: flutter stateful widget
class YellowBird extends StatefulWidget {
const YellowBird({ Key key }) : super(key: key);
@override
_YellowBirdState createState() => _YellowBirdState();
}
class _YellowBirdState extends State<YellowBird> {
@override
Widget build(BuildContext context) {
return Container(color: const Color(0xFFFFE306));
}
}