ElegantNumberButton constructor
ElegantNumberButton({})
Implementation
ElegantNumberButton({
Key? key,
required num initialValue,
required this.minValue,
required this.maxValue,
required this.onChanged,
required this.decimalPlaces,
this.color,
this.textStyle,
this.step = 1,
this.buttonSizeWidth = 30,
this.buttonSizeHeight = 25,
}) : assert(maxValue > minValue),
assert(initialValue >= minValue && initialValue <= maxValue),
assert(step > 0),
selectedValue = initialValue,
super(key: key);