autosos_flutter/lib/main.dart

27 lines
702 B
Dart
Raw Normal View History

2024-02-21 22:41:22 +08:00
import 'package:autosos_flutter/pages/home/home_page.dart';
2024-03-07 18:00:47 +08:00
import 'package:autosos_flutter/pages/login/login_page.dart';
2024-02-18 22:12:08 +08:00
import 'package:flutter/material.dart';
2024-03-09 14:28:23 +08:00
import 'package:flutter_easyloading/flutter_easyloading.dart';
2024-02-18 22:12:08 +08:00
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
2024-03-09 14:28:23 +08:00
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const LoginPage(),
builder: EasyLoading.init(),
);
2024-02-18 22:12:08 +08:00
}
}