Skip to content
Snippets Groups Projects
Commit 6715b408 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: remove bar on icon press

parent 86cbe631
No related branches found
No related tags found
1 merge request!10Clhp map
...@@ -132,6 +132,7 @@ class _DefaultPageState extends State<DefaultPage> { ...@@ -132,6 +132,7 @@ class _DefaultPageState extends State<DefaultPage> {
markerList: markerList, markerList: markerList,
relation: relation, relation: relation,
serverConnection: serverConnection, serverConnection: serverConnection,
showSearchBar: showBar,
), ),
], ],
), ),
......
...@@ -20,11 +20,13 @@ class MapContainerWidget extends StatefulWidget { ...@@ -20,11 +20,13 @@ class MapContainerWidget extends StatefulWidget {
final List<Measurement> markerList; final List<Measurement> markerList;
final Uint8List relation; final Uint8List relation;
final bool serverConnection; final bool serverConnection;
final bool showSearchBar;
const MapContainerWidget({Key? key, const MapContainerWidget({Key? key,
required this.markerList, required this.markerList,
required this.relation, required this.relation,
required this.serverConnection, required this.serverConnection,
required this.showSearchBar
}) : super(key: key); }) : super(key: key);
@override @override
...@@ -90,7 +92,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> { ...@@ -90,7 +92,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
return Column( return Column(
children: [ children: [
const SizedBox(height: contPadding), const SizedBox(height: contPadding),
if (true) // NB temp always true if (widget.showSearchBar) // NB temp always true
_SearchBar(), _SearchBar(),
const SizedBox(height: contPadding), const SizedBox(height: contPadding),
ClipRRect( ClipRRect(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment