SmoothCheckbox constructor
const
SmoothCheckbox({ - required bool? value,
- required ValueChanged<bool?>? onChanged,
- Key? key,
- bool tristate = false,
- MouseCursor? mouseCursor,
- Color? activeColor,
- WidgetStateProperty<Color?>? fillColor,
- Color? checkColor,
- Color? focusColor,
- Color? hoverColor,
- WidgetStateProperty<Color?>? overlayColor,
- double? splashRadius,
- MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- FocusNode? focusNode,
- bool autofocus = false,
- OutlinedBorder? shape,
- BorderSide? side,
- bool isError = false,
- String? semanticLabel,
})
Implementation
const SmoothCheckbox({
required this.value,
required this.onChanged,
super.key,
this.tristate = false,
this.mouseCursor,
this.activeColor,
this.fillColor,
this.checkColor,
this.focusColor,
this.hoverColor,
this.overlayColor,
this.splashRadius,
this.materialTapTargetSize,
this.visualDensity,
this.focusNode,
this.autofocus = false,
this.shape,
this.side,
this.isError = false,
this.semanticLabel,
});