changed visual of adding new bookmark

This commit is contained in:
2026-04-13 15:37:29 +02:00
parent 83ec068a27
commit b06858c602
2 changed files with 37 additions and 13 deletions
+29 -5
View File
@@ -109,13 +109,37 @@ class _CollectionsListPageState extends State<CollectionsListPage> {
Navigator.of(context).pushNamed(SearchPage.routeName),
icon: Icon(Icons.search_rounded),
),
IconButton(
onPressed: () =>
Navigator.of(context).pushNamed(SettingsPage.routeName),
icon: Icon(Icons.settings_rounded),
),
if (!addingNewBookmark)
IconButton(
onPressed: () =>
Navigator.of(context).pushNamed(SettingsPage.routeName),
icon: Icon(Icons.settings_rounded),
),
],
),
bottomNavigationBar: addingNewBookmark
? Container(
decoration: BoxDecoration(
borderRadius: BorderRadiusGeometry.circular(12),
color: Theme.of(context).colorScheme.surfaceContainer,
),
height: 100,
child: Padding(
padding: EdgeInsetsGeometry.fromLTRB(
MediaQuery.of(context).size.width * 0.05,
15,
MediaQuery.of(context).size.width * 0.05,
MediaQuery.of(context).viewInsets.bottom,
),
child: Text(
Provider.of<SharedLinkProvider>(
context,
).currentMapsLinkMetadata!.placeName,
),
),
)
: null,
floatingActionButton: FloatingActionButton(
onPressed: onAddButtonPressed,
child: Icon(Icons.add),