VoSelectField<Result, T> constructor

VoSelectField<Result, T>({
  1. Key? key,
  2. bool expands = false,
  3. VoFieldOptions options = const VoFieldOptions(),
  4. InputDecoration decoration = const InputDecoration(),
  5. VoOverlayType overlayType = VoOverlayType.bottomSheet,
  6. String valueBuilder(
    1. T
    )?,
  7. required VoOverlayOptions<T> overlayOptions,
  8. required ValueChanged<Result>? onChanged,
})

Implementation

VoSelectField({
  super.key,
  this.expands = false,
  this.options = const VoFieldOptions(),
  this.decoration = const InputDecoration(),
  this.overlayType = VoOverlayType.bottomSheet,
  this.valueBuilder,
  required this.overlayOptions,
  required this.onChanged,
}) : assert(
       overlayOptions.isListOverlay,
       '\n\nVoSelectField: overlayOptions must be a list overlay options\n',
     );