refactoring
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'pages/bookmarks_page.dart';
|
||||
import 'pages/collections_page.dart';
|
||||
import 'pages/collection_page.dart';
|
||||
import 'pages/collections_list_page.dart';
|
||||
import 'service/shared_link_provider.dart';
|
||||
import 'service/storage.dart';
|
||||
import 'service/share_intent_service.dart';
|
||||
@@ -64,10 +64,10 @@ class _MapsBookmarksState extends State<MapsBookmarks>
|
||||
navigatorKey: _navigatorKey,
|
||||
theme: lightTheme,
|
||||
darkTheme: darkTheme,
|
||||
initialRoute: CollectionsPage.routeName,
|
||||
initialRoute: CollectionsListPage.routeName,
|
||||
routes: {
|
||||
CollectionsPage.routeName: (context) => const CollectionsPage(),
|
||||
BookmarksPage.routeName: (context) => const BookmarksPage(),
|
||||
CollectionsListPage.routeName: (context) => const CollectionsListPage(),
|
||||
CollectionPage.routeName: (context) => const CollectionPage(),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user