TCheckboxGroup<T> constructor

const TCheckboxGroup<T>({
  1. Key? key,
  2. String? label,
  3. String? tag,
  4. String? helperText,
  5. bool isRequired = false,
  6. bool disabled = false,
  7. bool clearable = false,
  8. TInputFieldTheme? theme,
  9. VoidCallback? onTap,
  10. FocusNode? focusNode,
  11. List<T>? value,
  12. ValueNotifier<List<T>?>? valueNotifier,
  13. ValueChanged<List<T>?>? onValueChanged,
  14. List<String? Function(List<T>?)>? rules,
  15. Duration? validationDebounce,
  16. List<TCheckboxGroupItem<T>> items = const [],
  17. Color? color,
  18. bool block = true,
  19. bool vertical = false,
  20. bool autoFocus = false,
})

Creates a checkbox group.

Implementation

const TCheckboxGroup({
  super.key,
  this.label,
  this.tag,
  this.helperText,
  this.isRequired = false,
  this.disabled = false,
  this.clearable = false,
  this.theme,
  this.onTap,
  this.focusNode,
  this.value,
  this.valueNotifier,
  this.onValueChanged,
  this.rules,
  this.validationDebounce,
  this.items = const [],
  this.color,
  this.block = true,
  this.vertical = false,
  this.autoFocus = false,
});