FxCheckbox constructor
const
FxCheckbox({
- required bool value,
- ValueChanged<
bool> ? onChanged, - Key? key,
- double size = 24.0,
- double iconSize = 20.0,
- Color? backgroundColor,
- Color? iconColor,
- IconData icon = Icons.check,
- Color? borderColor,
- double borderRadius = 4.0,
- bool isDisabled = false,
- String? semanticLabel,
- Duration duration = const Duration(milliseconds: 200),
- Curve curve = Curves.easeInOut,
- FocusNode? focusNode,
Implementation
const FxCheckbox({
required this.value,
this.onChanged,
super.key,
this.size = 24.0,
this.iconSize = 20.0,
this.backgroundColor,
this.iconColor,
this.icon = Icons.check,
this.borderColor,
this.borderRadius = 4.0,
this.isDisabled = false,
this.semanticLabel,
this.duration = const Duration(milliseconds: 200),
this.curve = Curves.easeInOut,
this.focusNode,
});