FxSelectField<Result, T> constructor
FxSelectField<Result, T> ({
- Key? key,
- bool expands = false,
- FxFieldOptions options = const FxFieldOptions(),
- InputDecoration decoration = const InputDecoration(),
- FxOverlayType overlayType = FxOverlayType.bottomSheet,
- String valueBuilder(
- T
- required FxOverlayOptions<
T> overlayOptions, - required ValueChanged<
Result> ? onChanged,
Implementation
FxSelectField({
super.key,
this.expands = false,
this.options = const FxFieldOptions(),
this.decoration = const InputDecoration(),
this.overlayType = FxOverlayType.bottomSheet,
this.valueBuilder,
required this.overlayOptions,
required this.onChanged,
}) : assert(
overlayOptions.isListOverlay,
'\n\nFxSelectField: overlayOptions must be a list overlay options\n'
);