Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

10 lines
681 B
Markdown

## Number Dialog
| Preview | | Module |
| :- | :- | :- |
| ![Preview](../screenshots/dark/demo_number1.jpg "Preview") | ![Preview](../screenshots/dark/demo_number3.jpg "Preview") | `number` |
This shows a number **picker** dialog. You can always use the *Input Dialog* for numbers as well and change its options to accept numbers only and even attach an validator. But this one is meant for picking numbers with the help of one or two increase and decrease buttons.
https://github.com/MFlisar/ComposeDialogs/blob/e557188577936eea25bfefb47efc235cee362dc4/library/modules/number/src/commonMain/kotlin/com/michaelflisar/composedialogs/dialogs/number/DialogNumberPicker.kt#L49-L79