AntdBaseCheckbox<Style extends AntdCheckboxStyle, WidgetType> constructor
const
AntdBaseCheckbox<Style extends AntdCheckboxStyle, WidgetType> ({
- Key? key,
- Style? style,
- AntdStyleBuilder<
Style, WidgetType> ? styleBuilder, - bool? disabled,
- bool? readOnly,
- dynamic value,
- bool? autoCollect = true,
- ValueChanged? onChange,
- bool? shouldTriggerChange = true,
- AntdHapticFeedback? hapticFeedback = AntdHapticFeedback.light,
- bool? manual,
- bool? indeterminate,
- Widget? extra,
Implementation
const AntdBaseCheckbox(
{super.key,
super.style,
super.styleBuilder,
super.disabled,
super.readOnly,
///单读使用时为false 代表关闭,true代表打开,与Group配合可以是其他任意值
super.value,
super.autoCollect,
super.onChange,
super.shouldTriggerChange,
super.hapticFeedback,
super.manual,
this.indeterminate,
this.extra});