Show entries while loading within location search box
This commit is contained in:
parent
90a2a44aec
commit
bda277693b
1 changed files with 0 additions and 2 deletions
|
@ -30,7 +30,6 @@ class _LocationSearchWidgetState extends State<LocationSearchWidget> {
|
|||
),
|
||||
),
|
||||
hideOnEmpty: true,
|
||||
hideOnLoading: true,
|
||||
loadingBuilder: (context) {
|
||||
return loadWidget;
|
||||
},
|
||||
|
@ -57,7 +56,6 @@ class _LocationSearchWidgetState extends State<LocationSearchWidget> {
|
|||
return LocationSearchResultWidget(suggestion['name']);
|
||||
},
|
||||
onSuggestionSelected: (suggestion) {
|
||||
Navigator.pop(context);
|
||||
Navigator.of(context).push(MaterialPageRoute(
|
||||
builder: (context) => LocationSearchResultsPage(
|
||||
ViewPort(
|
||||
|
|
Loading…
Add table
Reference in a new issue