FxCheckbox constructor

const FxCheckbox({
  1. required bool value,
  2. ValueChanged<bool>? onChanged,
  3. Key? key,
  4. double size = 24.0,
  5. double iconSize = 20.0,
  6. Color? backgroundColor,
  7. Color? iconColor,
  8. IconData icon = Icons.check,
  9. Color? borderColor,
  10. double borderRadius = 4.0,
  11. bool isDisabled = false,
  12. String? semanticLabel,
  13. Duration duration = const Duration(milliseconds: 200),
  14. Curve curve = Curves.easeInOut,
  15. 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,
});