Customizable widget designed for choosing an integer number.
- Increment and decrement buttons
- Skip to first and last number buttons
- Cancel by pressing ESC
- Update by pressing Enter or loosing focus
- Negative and positive integers
- Tooltips for buttons
NumberSelector(
current: 47,
min: 1,
max: 50,
onUpdate: (number) {
// Your magic here
},
);
NumberSelector.plain(
current: 47,
min: 1,
max: 50,
onUpdate: (number) {
// More magic here
},
);