FMultiSelect<T>.rich constructor
const
FMultiSelect<T>.rich ({
- required Widget format(
- T value
- required List<
FSelectItemMixin> children, - FMultiValueControl<
T> ? control, - FPopoverControl popoverControl,
- FMultiSelectStyle style(
- FMultiSelectStyle style
- bool autofocus,
- FocusNode? focusNode,
- FFieldIconBuilder<
FMultiSelectStyle> ? prefixBuilder, - FFieldIconBuilder<
FMultiSelectStyle> ? suffixBuilder, - Widget? label,
- Widget? description,
- bool enabled,
- 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 contentAnchor,
- AlignmentGeometry fieldAnchor,
- FPortalConstraints contentConstraints,
- FPortalSpacing contentSpacing,
- FPortalOverflow contentOverflow,
- Offset contentOffset,
- FPopoverHideRegion contentHideRegion,
- Object? contentGroupId,
- Widget contentEmptyBuilder(
- BuildContext context,
- FMultiSelectStyle style
- ScrollController? contentScrollController,
- bool contentScrollHandles,
- ScrollPhysics contentPhysics,
- FItemDivider contentDivider,
- Key? key,
Creates a FMultiSelect with the given children.
Implementation
const factory FMultiSelect.rich({
required Widget Function(T value) format,
required List<FSelectItemMixin> children,
FMultiValueControl<T>? control,
FPopoverControl popoverControl,
FMultiSelectStyle Function(FMultiSelectStyle style)? style,
bool autofocus,
FocusNode? focusNode,
FFieldIconBuilder<FMultiSelectStyle>? prefixBuilder,
FFieldIconBuilder<FMultiSelectStyle>? suffixBuilder,
Widget? label,
Widget? description,
bool enabled,
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 contentAnchor,
AlignmentGeometry fieldAnchor,
FPortalConstraints contentConstraints,
FPortalSpacing contentSpacing,
FPortalOverflow contentOverflow,
Offset contentOffset,
FPopoverHideRegion contentHideRegion,
Object? contentGroupId,
Widget Function(BuildContext context, FMultiSelectStyle style) contentEmptyBuilder,
ScrollController? contentScrollController,
bool contentScrollHandles,
ScrollPhysics contentPhysics,
FItemDivider contentDivider,
Key? key,
}) = _BasicSelect<T>;