-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Hi,
is it possible to use NumberPicker in an alertdialog widget, I have the following code but I can't move the picker:
Future<void> _onClick() async {
showDialog<void>(context: context, builder: (BuildContext context) {
return AlertDialog(
content: NumberPicker(
value: widget.value,
minValue: 0,
maxValue: 40,
onChanged: (value) {
setState(() {
widget.value= value;
});
},
)
);
},
);
}Metadata
Metadata
Assignees
Labels
No labels