CustomCounterButton constructor
const
CustomCounterButton({
- Key? key,
- int currentValue = 0,
- Function? onChanged,
- Color? iconLeftColor,
- Color? iconRightColor,
- bool openCalc = true,
- double? height = 48,
- double? width = 128,
- int? flex,
- EdgeInsets? margin,
- EdgeInsets? padding = const EdgeInsets.symmetric(horizontal: 8),
- BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8)),
- Color? backgroundColor,
Implementation
const CustomCounterButton({
super.key,
this.currentValue = 0,
this.onChanged,
this.iconLeftColor,
this.iconRightColor,
this.openCalc = true,
super.height = 48,
super.width = 128,
super.flex,
super.margin,
super.padding = const EdgeInsets.symmetric(horizontal: 8),
super.borderRadius = const BorderRadius.all(Radius.circular(8)),
super.backgroundColor,
});