AutoCompleteAddressSearch class

Inheritance

Constructors

AutoCompleteAddressSearch({Key? key, required String apiKey, required dynamic geocodeResponse(Results?), AutocompleteOptionsViewBuilder<Predictions>? optionsViewBuilder, String types = 'geocode', ComponentsFilter? componentsFilter, dynamic sessionToken, int? offset, InputDecoration? inputDecoration, })

Properties

apiKey String
final
componentsFilter ComponentsFilter?
You can set the Geocoding Service to return address results restricted to a specific area, by using a components filter developers.google.com/maps/documentation/javascript/geocoding#ComponentFiltering
final
Google logo will be displayed in the search list due to policy developers.google.com/maps/documentation/places/web-service/policies#powered
final
geocodeResponse → dynamic Function(Results?)
This will return the full details of search address
final
hashCode int
The hash code for this object.
no setterinherited
inputDecoration InputDecoration?
Set Decoration for TextField
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
offset int?
The position, in the input term, of the last character that the service uses to match predictions. For example, if the input is 'Google' and the offset is 3, the service will match on 'Goo'. The string determined by the offset is matched against the first word in the input term only. For example, if the input term is 'Google abc' and the offset is 3, the service will attempt to match against 'Goo abc'. If no offset is supplied, the service will use the whole term. The offset should generally be set to the position of the text caret.
final
optionsViewBuilder AutocompleteOptionsViewBuilder<Predictions>?
If not provided, will build a standard Material-style list of results by default.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionToken → dynamic
developers.google.com/maps/documentation/places/web-service/autocomplete#session_tokens
final
types String
The types of place results to return. See Place Types developers.google.com/maps/documentation/places/web-service/autocomplete#place_types
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _AutoCompleteAddressSearchState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited