added simple search feature

This commit is contained in:
2026-01-14 22:49:32 +01:00
parent 36e4eaee17
commit 143206cd72
4 changed files with 93 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import '../service/shared_link_provider.dart';
import '../service/storage.dart';
import '../widgets/create_bookmark_collection_dialog.dart';
import 'collection_page.dart';
import 'search_page.dart' show SearchPage;
class CollectionsListPage extends StatefulWidget {
const CollectionsListPage({super.key});
@@ -88,6 +89,12 @@ class _CollectionsListPageState extends State<CollectionsListPage> {
TextButton(
onPressed: () => provider.removeCurrentMapsLink(),
child: Text('Cancel'),
)
else
IconButton(
onPressed: () =>
Navigator.of(context).pushNamed(SearchPage.routeName),
icon: Icon(Icons.search),
),
],
),