main.dart 487 B

123456789101112131415161718192021222324
  1. import 'package:flutter/material.dart';
  2. import 'package:canteen/ui/CanteenMain.dart';
  3. import 'package:canteen/bean/themes.dart';
  4. void main() {
  5. runApp(const MyApp());
  6. }
  7. class MyApp extends StatelessWidget {
  8. const MyApp({Key? key}) : super(key: key);
  9. // This widget is the root of your application.
  10. @override
  11. Widget build(BuildContext context) {
  12. return MaterialApp(
  13. title: 'Flutter Demo',
  14. theme: Themes.defaultTheme,
  15. home: CanteenMain(),
  16. );
  17. }
  18. }