main.dart 683 B

123456789101112131415161718192021222324252627
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_slidable_demo/pages/home_page.dart';
  3. /// Description: enter point
  4. /// Time : 05/26/2023 Friday
  5. /// Author : liuyuqi.gov@msn.cn
  6. void main() {
  7. runApp(const MyApp());
  8. }
  9. class MyApp extends StatelessWidget {
  10. const MyApp({super.key});
  11. // This widget is the root of your application.
  12. @override
  13. Widget build(BuildContext context) {
  14. return MaterialApp(
  15. debugShowCheckedModeBanner: false,
  16. title: 'Flutter Demo',
  17. theme: ThemeData(
  18. colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
  19. useMaterial3: true,
  20. ),
  21. home: const HomePage(),
  22. );
  23. }
  24. }