import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:hengyi/home/home.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return ScreenUtilInit( designSize: const Size(1280, 1920), builder: (BuildContext context, Widget? child) { return MaterialApp( title: "夫为", home: HomePage(), ); }, ); } }