import 'package:flutter/material.dart'; class HomePage extends StatefulWidget { const HomePage({super.key}); static String title = "home"; @override State createState() => _HomePage(); } class _HomePage extends State { @override Widget build(BuildContext context) { return const Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Text( 'You have pushed the button this many times:', ), ], )); } }