OpenMapPicker constructor

const OpenMapPicker({
  1. Key? key,
  2. FormattedLocation? initialValue,
  3. FormFieldSetter<FormattedLocation>? onChanged,
  4. FormFieldSetter<FormattedLocation>? onSaved,
  5. FormFieldValidator<FormattedLocation>? validator,
  6. Widget? removeIcon = const Icon(Icons.delete_rounded),
  7. InputDecoration decoration = const InputDecoration(prefixIcon: Icon(Icons.my_location_rounded), hintText: "My Location"),
  8. TextStyle? textStyle,
  9. TextAlign? textAlign,
  10. TextAlignVertical? textAlignVertical,
  11. FocusNode? focusNode,
  12. bool expands = false,
  13. 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);