import 'package:flutter/material.dart'; class Demo1 extends StatefulWidget { const Demo1({Key? key}) : super(key: key); @override State createState() => _Demo1State(); } class _Demo1State extends State { @override Widget build(BuildContext context) { return Container( color: Colors.red, ); } }