selectGroup<T> static method
FSelectTileGroup<T>
selectGroup<T>({
- required List<
FSelectTile< children,T> > - FMultiValueControl<
T> ? control, - ScrollController? scrollController,
- FTileGroupStyleDelta style = const .context(),
- ScrollCacheExtent? scrollCacheExtent,
- double maxHeight = .infinity,
- bool? intrinsicWidth,
- DragStartBehavior dragStartBehavior = .start,
- ScrollPhysics physics = const ClampingScrollPhysics(),
- FItemDivider divider = .indented,
- Widget? label,
- Widget? description,
- String? semanticsLabel,
- Widget errorBuilder(
- BuildContext context,
- String message
- FormFieldSetter<
Set< ? onSaved,T> > - VoidCallback? onReset,
- FormFieldValidator<
Set< ? validator,T> > - String? forceErrorText,
- bool enabled = true,
- AutovalidateMode autovalidateMode = .disabled,
- Key? key,
Creates a FSelectTileGroup.
This function is a shorthand for FSelectTileGroup.new.
Implementation
static FSelectTileGroup<T> selectGroup<T>({
required List<FSelectTile<T>> children,
FMultiValueControl<T>? control,
ScrollController? scrollController,
FTileGroupStyleDelta style = const .context(),
ScrollCacheExtent? scrollCacheExtent,
double maxHeight = .infinity,
bool? intrinsicWidth,
DragStartBehavior dragStartBehavior = .start,
ScrollPhysics physics = const ClampingScrollPhysics(),
FItemDivider divider = .indented,
Widget? label,
Widget? description,
String? semanticsLabel,
Widget Function(BuildContext context, String message) errorBuilder = FFormFieldProperties.defaultErrorBuilder,
FormFieldSetter<Set<T>>? onSaved,
VoidCallback? onReset,
FormFieldValidator<Set<T>>? validator,
String? forceErrorText,
bool enabled = true,
AutovalidateMode autovalidateMode = .disabled,
Key? key,
}) => .new(
control: control,
scrollController: scrollController,
style: style,
scrollCacheExtent: scrollCacheExtent,
maxHeight: maxHeight,
intrinsicWidth: intrinsicWidth,
dragStartBehavior: dragStartBehavior,
physics: physics,
divider: divider,
label: label,
description: description,
semanticsLabel: semanticsLabel,
errorBuilder: errorBuilder,
onSaved: onSaved,
onReset: onReset,
validator: validator,
forceErrorText: forceErrorText,
enabled: enabled,
autovalidateMode: autovalidateMode,
key: key,
children: children,
);