VoSelectField<Result, T> constructor
VoSelectField<Result, T> ({
- Key? key,
- bool expands = false,
- VoFieldOptions options = const VoFieldOptions(),
- InputDecoration decoration = const InputDecoration(),
- VoOverlayType overlayType = VoOverlayType.bottomSheet,
- String valueBuilder(
- T
- required VoOverlayOptions<
T> overlayOptions, - 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',
);