25 lines
646 B
Dart
25 lines
646 B
Dart
import 'package:flutter/material.dart';
|
|
import 'pages/collections_page.dart';
|
|
import 'service/storage.dart';
|
|
|
|
void main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
await Storage.initialize();
|
|
runApp(const MapsBookmarks());
|
|
}
|
|
|
|
class MapsBookmarks extends StatelessWidget {
|
|
const MapsBookmarks({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
|
),
|
|
initialRoute: CollectionsPage.routeName,
|
|
routes: {CollectionsPage.routeName: (context) => const CollectionsPage()},
|
|
);
|
|
}
|
|
}
|