FSelectTileGroup<T> constructor

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

Creates a FSelectTileGroup.

Implementation

FSelectTileGroup({
  required List<FSelectTile<T>> children,
  this.control,
  this.scrollController,
  this.style,
  this.cacheExtent,
  this.maxHeight = .infinity,
  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,
  super.key,
}) : _children = children,
     _tileBuilder = null,
     _count = null;