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. TInputFieldTheme? theme,
  8. VoidCallback? onTap,
  9. FocusNode? focusNode,
  10. List<T>? value,
  11. ValueNotifier<List<T>?>? valueNotifier,
  12. ValueChanged<List<T>?>? onValueChanged,
  13. List<String? Function(List<T>?)>? rules,
  14. Duration? validationDebounce,
  15. List<TCheckboxGroupItem<T>> items = const [],
  16. Color? color,
  17. bool block = true,
  18. bool vertical = false,
  19. bool autoFocus = false,
})

Implementation

const TCheckboxGroup({
  super.key,
  this.label,
  this.tag,
  this.helperText,
  this.isRequired = false,
  this.disabled = 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,
});