FMultiSelect<T>.rich constructor
FMultiSelect<T>.rich ({
- required Widget format(
- T value
- required List<
FSelectItemMixin> children, - FMultiSelectController<
T> ? controller, - FMultiSelectStyle style(
- FMultiSelectStyle style
- bool autofocus,
- FocusNode? focusNode,
- FFieldIconBuilder<
FMultiSelectStyle> ? prefixBuilder, - FFieldIconBuilder<
FMultiSelectStyle> ? suffixBuilder, - Widget? label,
- Widget? description,
- bool enabled,
- ValueChanged<
Set< ? onChange,T> > - void onSaved(
- Set<
T> values
- Set<
- VoidCallback? onReset,
- AutovalidateMode autovalidateMode,
- String? forceErrorText,
- String? validator(
- Set<
T> values
- Set<
- Widget errorBuilder(
- BuildContext context,
- String message
- Widget? hint,
- bool keepHint,
- int sort(
- T,
- T
- FMultiSelectTagBuilder<
T> ? tagBuilder, - TextAlign textAlign,
- TextDirection? textDirection,
- bool clearable,
- AlignmentGeometry anchor,
- AlignmentGeometry fieldAnchor,
- FPortalConstraints popoverConstraints,
- FPortalSpacing spacing,
- Offset shift(
- Size size,
- FPortalChildBox childBox,
- FPortalBox portalBox
- Offset offset,
- FPopoverHideRegion hideRegion,
- Widget contentEmptyBuilder(
- BuildContext context,
- FMultiSelectStyle style
- ScrollController? contentScrollController,
- bool contentScrollHandles,
- ScrollPhysics contentPhysics,
- FItemDivider contentDivider,
- int min,
- int? max,
- Set<
T> ? initialValue, - Key? key,
Creates a FMultiSelect with the given children
.
Implementation
factory FMultiSelect.rich({
required Widget Function(T value) format,
required List<FSelectItemMixin> children,
FMultiSelectController<T>? controller,
FMultiSelectStyle Function(FMultiSelectStyle style)? style,
bool autofocus,
FocusNode? focusNode,
FFieldIconBuilder<FMultiSelectStyle>? prefixBuilder,
FFieldIconBuilder<FMultiSelectStyle>? suffixBuilder,
Widget? label,
Widget? description,
bool enabled,
ValueChanged<Set<T>>? onChange,
void Function(Set<T> values)? onSaved,
VoidCallback? onReset,
AutovalidateMode autovalidateMode,
String? forceErrorText,
String? Function(Set<T> values) validator,
Widget Function(BuildContext context, String message) errorBuilder,
Widget? hint,
bool keepHint,
int Function(T, T)? sort,
FMultiSelectTagBuilder<T>? tagBuilder,
TextAlign textAlign,
TextDirection? textDirection,
bool clearable,
AlignmentGeometry anchor,
AlignmentGeometry fieldAnchor,
FPortalConstraints popoverConstraints,
FPortalSpacing spacing,
Offset Function(Size size, FPortalChildBox childBox, FPortalBox portalBox) shift,
Offset offset,
FPopoverHideRegion hideRegion,
Widget Function(BuildContext context, FMultiSelectStyle style) contentEmptyBuilder,
ScrollController? contentScrollController,
bool contentScrollHandles,
ScrollPhysics contentPhysics,
FItemDivider contentDivider,
int min,
int? max,
Set<T>? initialValue,
Key? key,
}) = _BasicSelect<T>;