StepperInput constructor
const
StepperInput({
- Key? key,
- required num value,
- required ValueChanged<
num> onChanged, - num min = 0,
- num max = 99,
- num step = 1,
- String? label,
- double buttonSize = 36,
- TextStyle? textStyle,
- Color? activeColor,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(10)),
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 4),
- Duration longPressRepeatDelay = const Duration(milliseconds: 80),
Implementation
const StepperInput({
super.key,
required this.value,
required this.onChanged,
this.min = 0,
this.max = 99,
this.step = 1,
this.label,
this.buttonSize = 36,
this.textStyle,
this.activeColor,
this.borderRadius = const BorderRadius.all(Radius.circular(10)),
this.padding = const EdgeInsets.symmetric(horizontal: 4),
this.longPressRepeatDelay = const Duration(milliseconds: 80),
});