FxSelectField<T> constructor
const
FxSelectField<T> ({
- Key? key,
- T? selectedValue,
- List<
T> ? selectedValues, - required void onChanged(
- T value,
- List<
T> ? values
- List<
T> ? onSearch()?, - required FxSelectFieldData<
T> data, - FxOverlayStyle overlayStyle = FxOverlayStyle.bottomSheet,
- String? label,
- String? hint,
- String? errorText,
- bool enabled = true,
- Widget? prefixIcon,
- Widget? suffixIcon,
- InputDecoration? decoration,
Implementation
const FxSelectField({
super.key,
this.selectedValue,
this.selectedValues,
required this.onChanged,
this.onSearch,
required this.data,
this.overlayStyle = FxOverlayStyle.bottomSheet,
this.label,
this.hint,
this.errorText,
this.enabled = true,
this.prefixIcon,
this.suffixIcon,
this.decoration
});