AtomicButtonCheck constructor
const
AtomicButtonCheck({
- Key? key,
- bool initialValue = false,
- bool? value,
- ValueChanged<
bool> ? onChanged, - required String text,
- Color? backgroundColor,
- Color? activeBackgroundColor,
- Color? checkBackgroundColor,
- Color? checkActiveBackgroundColor,
- Color? disabledColor,
- Color? textColor,
- Color? disabledTextColor,
- Color? activeTextColor,
- bool disabled = false,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? padding,
- 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,
});