PlacesAutocompleteField constructor
- {dynamic key,
- @required String apiKey,
- dynamic controller,
- dynamic leading,
- String hint: "Search",
- dynamic trailing,
- dynamic trailingOnTap,
- num offset,
- dynamic location,
- num radius,
- String language,
- String sessionToken,
- List<
String> types, - List components,
- bool strictbounds,
- dynamic onChanged,
- dynamic onSelected,
- dynamic onError,
- dynamic inputDecoration: const InputDecoration()}
Creates a text field like widget.
To remove the decoration entirely (including the extra padding introduced
by the decoration to save space for the labels), set the decoration
to
null.
Implementation
const PlacesAutocompleteField({
Key key,
@required this.apiKey,
this.controller,
this.leading,
this.hint = "Search",
this.trailing,
this.trailingOnTap,
this.offset,
this.location,
this.radius,
this.language,
this.sessionToken,
this.types,
this.components,
this.strictbounds,
this.onChanged,
this.onSelected,
this.onError,
this.inputDecoration = const InputDecoration(),
}) : super(key: key);