changed visual of adding new bookmark
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user