S360fCheckbox constructor
const
S360fCheckbox({
- Key? key,
- String? label,
- bool? value,
- @Deprecated("Use 'isDisabled' instead.") bool disable = false,
- bool isDisabled = false,
- bool isError = false,
- ValueChanged<
bool?> ? onChanged, - MouseCursor? mouseCursor,
- S360fCheckBoxSize size = S360fCheckBoxSize.medium,
- S360fWidgetColorVariant color = S360fWidgetColorVariant.primary,
- Color uncheckedBackgroundColor = Colors.transparent,
Implementation
const S360fCheckbox({
super.key,
this.label,
this.value,
@Deprecated("Use 'isDisabled' instead.") this.disable = false,
this.isDisabled = false,
this.isError = false,
this.onChanged,
this.mouseCursor,
this.size = S360fCheckBoxSize.medium,
this.color = S360fWidgetColorVariant.primary,
this.uncheckedBackgroundColor = Colors.transparent,
});