TouchSpin constructor
const
TouchSpin({
- Key? key,
- num value = 1.0,
- ValueChanged<
num> ? onChanged, - num min = 1.0,
- num max = 9999999.0,
- num step = 1.0,
- double iconSize = 24.0,
- NumberFormat? displayFormat,
- Icon subtractIcon = const Icon(Icons.remove),
- Icon addIcon = const Icon(Icons.add),
- EdgeInsetsGeometry iconPadding = const EdgeInsets.all(4.0),
- TextStyle textStyle = const TextStyle(fontSize: 24),
- Color? iconActiveColor,
- Color? iconDisabledColor,
- bool enabled = true,
Implementation
const TouchSpin({
Key? key,
this.value = 1.0,
this.onChanged,
this.min = 1.0,
this.max = 9999999.0,
this.step = 1.0,
this.iconSize = 24.0,
this.displayFormat,
this.subtractIcon = const Icon(Icons.remove),
this.addIcon = const Icon(Icons.add),
this.iconPadding = const EdgeInsets.all(4.0),
this.textStyle = const TextStyle(fontSize: 24),
this.iconActiveColor,
this.iconDisabledColor,
this.enabled = true,
}) : super(key: key);