TCheckboxGroup<T> constructor
const
TCheckboxGroup<T> ({
- Key? key,
- String? label,
- String? tag,
- String? helperText,
- bool isRequired = false,
- bool disabled = false,
- TInputFieldTheme? theme,
- VoidCallback? onTap,
- FocusNode? focusNode,
- List<
T> ? value, - ValueNotifier<
List< ? valueNotifier,T> ?> - ValueChanged<
List< ? onValueChanged,T> ?> - List<
String? Function(List< ? rules,T> ?)> - Duration? validationDebounce,
- List<
TCheckboxGroupItem< items = const [],T> > - Color? color,
- bool block = true,
- bool vertical = false,
- 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,
});