OpenMapPicker constructor
const
OpenMapPicker({
- Key? key,
- FormattedLocation? initialValue,
- FormFieldSetter<
FormattedLocation> ? onChanged, - FormFieldSetter<
FormattedLocation> ? onSaved, - FormFieldValidator<
FormattedLocation> ? validator, - Widget? removeIcon = const Icon(Icons.delete_rounded),
- InputDecoration decoration = const InputDecoration(prefixIcon: Icon(Icons.my_location_rounded), hintText: "My Location"),
- TextStyle? textStyle,
- TextAlign? textAlign,
- TextAlignVertical? textAlignVertical,
- FocusNode? focusNode,
- bool expands = false,
- OpenMapOptions? options,
Implementation
const OpenMapPicker({
Key? key,
this.initialValue,
this.onChanged,
this.onSaved,
this.validator,
this.removeIcon = const Icon(Icons.delete_rounded),
this.decoration = const InputDecoration(
prefixIcon: Icon(Icons.my_location_rounded),
hintText: "My Location",
),
this.textStyle,
this.textAlign,
this.textAlignVertical,
this.focusNode,
this.expands = false,
this.options,
}) : super(key: key);