Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
location_search_bar.dart File Reference
import package;
import easy_localization.dart;
import material.dart;
import flutter_screenutil.dart;
import fluentui_system_icons.dart;
import google_maps_flutter.dart;
import geocoding.dart;
import dart;
import core;
import ui;
import theme;
import color_palette.dart;
import models;
import search_result.dart;
Include dependency graph for location_search_bar.dart:

Go to the source code of this file.

Classes

class  StatefulWidget

Functions

void _onSearchChanged (String query)
Future< void_performGeocodingSearch (String query) async
String _buildAddressString (Placemark placemark)
void _onResultSelected (SearchResult result)
void _clearSearch ()
void _closeSearch ()
override Widget build (BuildContext context)
Widget _buildSearchContent ()
override void dispose ()

Variables

class LocationSearchBar extends StatefulWidget _isSearching = false
List< SearchResult_searchResults = []
final FocusNode _focusNode = FocusNode()
Timer _debounceTimer
bool _isSearchError = false

Function Documentation

◆ _buildAddressString()

String _buildAddressString ( Placemark placemark)

Definition at line 127 of file location_search_bar.dart.

Here is the caller graph for this function:

◆ _buildSearchContent()

Widget _buildSearchContent ( )

Definition at line 250 of file location_search_bar.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _clearSearch()

void _clearSearch ( )

Definition at line 156 of file location_search_bar.dart.

Here is the caller graph for this function:

◆ _closeSearch()

void _closeSearch ( )

Definition at line 165 of file location_search_bar.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _onResultSelected()

void _onResultSelected ( SearchResult result)

Definition at line 146 of file location_search_bar.dart.

◆ _onSearchChanged()

void _onSearchChanged ( String query)

Definition at line 38 of file location_search_bar.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _performGeocodingSearch()

Future< void > _performGeocodingSearch ( String query)

Definition at line 57 of file location_search_bar.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 173 of file location_search_bar.dart.

Here is the call graph for this function:

◆ dispose()

override void dispose ( )

Definition at line 344 of file location_search_bar.dart.

Variable Documentation

◆ _debounceTimer

Timer _debounceTimer

Definition at line 34 of file location_search_bar.dart.

◆ _focusNode

final FocusNode _focusNode = FocusNode()

Definition at line 33 of file location_search_bar.dart.

◆ _isSearchError

bool _isSearchError = false

Definition at line 36 of file location_search_bar.dart.

◆ _isSearching

class LocationSearchBar extends StatefulWidget _isSearching = false

◆ _searchResults

List<SearchResult> _searchResults = []

Definition at line 32 of file location_search_bar.dart.