FxSelectField<Result, T> constructor

FxSelectField<Result, T>({
  1. Key? key,
  2. bool expands = false,
  3. FxFieldOptions options = const FxFieldOptions(),
  4. InputDecoration decoration = const InputDecoration(),
  5. FxOverlayType overlayType = FxOverlayType.bottomSheet,
  6. String valueBuilder(
    1. T
    )?,
  7. required FxOverlayOptions<T> overlayOptions,
  8. 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'
    );