FSelectTileGroup<T> constructor

FSelectTileGroup<T>({
  1. required List<FSelectTile<T>> children,
  2. FMultiValueControl<T>? control,
  3. ScrollController? scrollController,
  4. FTileGroupStyleDelta style = const .context(),
  5. double? cacheExtent,
  6. double maxHeight = .infinity,
  7. bool? intrinsicWidth,
  8. DragStartBehavior dragStartBehavior = .start,
  9. ScrollPhysics physics = const ClampingScrollPhysics(),
  10. FItemDivider divider = .indented,
  11. Widget? label,
  12. Widget? description,
  13. String? semanticsLabel,
  14. Widget errorBuilder(
    1. BuildContext context,
    2. String message
    ) = FFormFieldProperties.defaultErrorBuilder,
  15. FormFieldSetter<Set<T>>? onSaved,
  16. VoidCallback? onReset,
  17. FormFieldValidator<Set<T>>? validator,
  18. String? forceErrorText,
  19. bool enabled = true,
  20. AutovalidateMode autovalidateMode = .disabled,
  21. Key? formFieldKey,
  22. Key? key,
})

Creates a FSelectTileGroup.

Implementation

FSelectTileGroup({
  required List<FSelectTile<T>> children,
  this.control,
  this.scrollController,
  this.style = const .context(),
  this.cacheExtent,
  this.maxHeight = .infinity,
  this.intrinsicWidth,
  this.dragStartBehavior = .start,
  this.physics = const ClampingScrollPhysics(),
  this.divider = .indented,
  this.label,
  this.description,
  this.semanticsLabel,
  this.errorBuilder = FFormFieldProperties.defaultErrorBuilder,
  this.onSaved,
  this.onReset,
  this.validator,
  this.forceErrorText,
  this.enabled = true,
  this.autovalidateMode = .disabled,
  this.formFieldKey,
  super.key,
}) : _children = children,
     _tileBuilder = null,
     _count = null;