NumberPicker
                                
                                
                                
                                    NumberPicker copied to clipboard
                            
                            
                            
                        Flutter 2.5 Web AlertDialog + numberpicker
Flutter 2.5 Web the numberpicker's scroll in AlertDialog is not working any more
same issues :(.
Any fix regarding this? its showing value in onchange but doesn't update state variables.
wrap the NumberPicker with ScrollConfiguration and provide the behavior property.
By default Scroll View mouse drag gesture is disabled in Flutter.
https://docs.flutter.dev/release/breaking-changes/default-scroll-behavior-drag
ScrollConfiguration(
  behavior: ScrollConfiguration.of(context).copyWith(dragDevices: {
    // enable touch and mouse gesture
    PointerDeviceKind.touch,
    PointerDeviceKind.mouse,
  }),
  child: NumberPicker(),
);
                                    
                                    
                                    
                                
Check this answer: https://stackoverflow.com/questions/69608373/flutter-numberpicker-in-alertdialog-doesnt-work-properly
The StateFulBuilder seems to fix the issue!