FSelectGroup<T> constructor

const FSelectGroup<T>({
  1. required List<FSelectGroupItemMixin<T>> children,
  2. FMultiValueControl<T>? control,
  3. FSelectGroupStyle style(
    1. FSelectGroupStyle style
    )?,
  4. Widget? label,
  5. Widget? description,
  6. Widget errorBuilder(
    1. BuildContext context,
    2. String message
    ) = FFormFieldProperties.defaultErrorBuilder,
  7. FormFieldSetter<Set<T>>? onSaved,
  8. VoidCallback? onReset,
  9. FormFieldValidator<Set<T>>? validator,
  10. String? forceErrorText,
  11. bool enabled = true,
  12. AutovalidateMode autovalidateMode = .disabled,
  13. Key? key,
})

Creates a FSelectGroup.

Implementation

const FSelectGroup({
  required this.children,
  this.control,
  this.style,
  this.label,
  this.description,
  this.errorBuilder = FFormFieldProperties.defaultErrorBuilder,
  this.onSaved,
  this.onReset,
  this.validator,
  this.forceErrorText,
  this.enabled = true,
  this.autovalidateMode = .disabled,
  super.key,
});