AtomicButtonCheck constructor

const AtomicButtonCheck({
  1. Key? key,
  2. bool initialValue = false,
  3. bool? value,
  4. ValueChanged<bool>? onChanged,
  5. required String text,
  6. Color? backgroundColor,
  7. Color? activeBackgroundColor,
  8. Color? checkBackgroundColor,
  9. Color? checkActiveBackgroundColor,
  10. Color? disabledColor,
  11. Color? textColor,
  12. Color? disabledTextColor,
  13. Color? activeTextColor,
  14. bool disabled = false,
  15. BorderRadius? borderRadius,
  16. EdgeInsetsGeometry? padding,
  17. EdgeInsetsGeometry? margin,
})

Implementation

const AtomicButtonCheck({
  super.key,
  this.initialValue = false,
  this.value,
  this.onChanged,
  required this.text,
  this.backgroundColor,
  this.activeBackgroundColor,
  this.checkBackgroundColor,
  this.checkActiveBackgroundColor,
  this.disabledColor,
  this.textColor,
  this.disabledTextColor,
  this.activeTextColor,
  this.disabled = false,
  this.borderRadius,
  this.padding,
  this.margin,
});