added bookmarks page
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'pages/bookmarks_page.dart';
|
||||
import 'pages/collections_page.dart';
|
||||
import 'service/storage.dart';
|
||||
|
||||
@@ -18,7 +19,10 @@ class MapsBookmarks extends StatelessWidget {
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
||||
),
|
||||
initialRoute: CollectionsPage.routeName,
|
||||
routes: {CollectionsPage.routeName: (context) => const CollectionsPage()},
|
||||
routes: {
|
||||
CollectionsPage.routeName: (context) => const CollectionsPage(),
|
||||
BookmarksPage.routeName: (context) => const BookmarksPage(),
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user