Did you know?

If you need to select between a small list of values but have limited vertical space, you can use a ListWheelScrollView. 🎯

Pro Tip: use FixedExtentScrollPhysics to snap to the nearest item when the user stops scrolling. 👍

The ListWheelScrollView Widget

How to use it

  • call the regular ListWheelScrollView constructor and pass a list of children.
  • call ListWheelScrollView.useDelegate and pass a ListWheelChildDelegate.

For all the details, check the official docs:

Happy coding!