GoogleLocationAutoCompleteTextField class

Inheritance

Constructors

GoogleLocationAutoCompleteTextField({required TextEditingController textEditingController, required String googleAPIKey, int debounceTime = 600, InputDecoration inputDecoration = const InputDecoration(), ItemClick? itemClick, bool isLatLngRequired = true, TextStyle textStyle = const TextStyle(), List<String>? countries, GetPlaceDetailswWithLatLng? getPlaceDetailWithLatLng, ListItemBuilder? itemBuilder, BoxDecoration? boxDecoration, bool isCrossBtnShown = true, Widget? seperatedBuilder, bool showError = true, double? containerHorizontalPadding, double? containerVerticalPadding, FocusNode? focusNode, PlaceType? placeType, String? language = 'en', Widget noOptionsFoundBuilder(BuildContext context)?, Widget manualLocationBuilder(BuildContext context)?, void manualLocationClick(BuildContext context)?, Color? suffixIconColor, AssetImage? suffixIcon, AssetImage? suffixIconAlternate, void onChanged(String)?, void onTapOutside()?, Color? dividerColor})

Properties

boxDecoration BoxDecoration?
getter/setter pair
clearData ↔ void
getter/setter pair
containerHorizontalPadding double?
getter/setter pair
containerVerticalPadding double?
getter/setter pair
countries List<String>?
getter/setter pair
debounceTime int
getter/setter pair
dividerColor Color?
getter/setter pair
focusNode FocusNode?
getter/setter pair
getPlaceDetailWithLatLng GetPlaceDetailswWithLatLng?
getter/setter pair
googleAPIKey String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputDecoration InputDecoration
getter/setter pair
isCrossBtnShown bool
getter/setter pair
isLatLngRequired bool
getter/setter pair
itemBuilder ListItemBuilder?
getter/setter pair
itemClick ItemClick?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
language String?
getter/setter pair
manualLocationBuilder Widget Function(BuildContext context)?
getter/setter pair
manualLocationClick ↔ void Function(BuildContext context)?
getter/setter pair
noOptionsFoundBuilder Widget Function(BuildContext context)?
getter/setter pair
onChanged ↔ void Function(String)?
getter/setter pair
onTapOutside ↔ void Function()?
getter/setter pair
placeType PlaceType?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seperatedBuilder Widget?
getter/setter pair
showError bool
getter/setter pair
suffixIcon AssetImage?
getter/setter pair
suffixIconAlternate AssetImage?
getter/setter pair
suffixIconColor Color?
getter/setter pair
textEditingController TextEditingController
getter/setter pair
textStyle TextStyle
getter/setter pair

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _GooglePlaceAutoCompleteTextFieldState
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, int wrapWidth = 65}) 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