MultiOpenMapPicker constructor

const MultiOpenMapPicker({
  1. Key? key,
  2. List<FormattedLocation>? initialValue,
  3. ValueChanged<List<FormattedLocation>>? onChanged,
  4. ValueChanged<List<FormattedLocation>>? onSaved,
  5. String? validator(
    1. List<FormattedLocation> value
    )?,
  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,
})

Implementation

const MultiOpenMapPicker({
  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,
}) : super(key: key);