address_search_field library
An address search field which helps to autocomplete an address by a reference. It can be used to get Directions beetwen two points.
Classes
- Address
- Primary data of an address to perform geolocation processes.
- AddressDialogStyle
- Styles for AddressSearchDialog.
- AddressDialogTexts
- Texts for AddressSearchDialog.
- AddressLocator
- Use Coords to get an Address.
- AddressSearchDialog
- Dialog to search Address.
- Bounds
-
Geographical bounding box by coordinates of
LatLng
object. - Coords
- Latitude and longitude coordinates as degrees.
- Directions
- Result of request to Google Directions API
- GeoMethods
- Provides methods to call Google places, geocode and directions APIs
- LocationSetter
-
Sets Address objects in the
provider
. - RouteNotifier
- Notifier to work with two or more points in RouteSearchBox.
- RouteSearchBox
- Wrapper to work with provider and call Google Directions API and get Directions beetwen two or more points.
Enums
- AddressId
- Identifies Address in a RouteSearchBox widget.
- DirectionsMode
- Identifies a parameter in a GeoMethods object.
- DirectionsUnits
- Identifies a parameter in a GeoMethods object.
- RouteError
- Identifies throwed errors in routes.
Extensions
-
AddressListConvert
on List<
Address> - extensions for List<Address>.
-
CoordsListConvert
on List<
Coords> - extensions for List<Coords>.
- LatLngBoundsConvert on LatLngBounds
-
extensions for
LatLngBounds
. - LatLngConvert on LatLng
-
extensions for
LatLng
. -
WaypointRangeException
on List<
Address> - extensions for List<Address>.
Typedefs
-
BuilderCallback
= Widget Function(BuildContext context, AsyncSnapshot<
List< snapshot, Future<Address> >void> searchAddress(), Future<Address> getGeometry(Address address), void dismiss()) - Callback method.
-
OnDoneCallback
= FutureOr<
void> Function(Address address) - Callback method.
-
SearchAddressCallback
= Future<
void> Function() - Callback method.
- SetAddressCallback = void Function(Address origin)
- Callback method.