Skip to content
pubscout

wheel_chooser

1.1.2, released 4 years ago by an unverified publisher

A wheel-style spinner widget for choosing numbers, strings, or custom widgets.

WASM-ready
$ flutter pub add wheel_chooser
Source repository

What it does

WheelChooser provides a scrollable spinner widget with a wheel look. It supports choosing from lists of strings, integers within a range, custom choices with associated values, or arbitrary custom widgets in both vertical and horizontal orientations.

AI-written summary of version 1.1.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a picker or spinner with a wheel-like appearance for numbers, dates, or strings.
  • You want to allow users to scroll through custom widgets in a carousel/wheel layout.

Skip it when

  • You need native platform-specific pickers like iOS cupertino date pickers directly.
  • You require complex form validation integrated directly into the wheel.

Strengths

  • Supports multiple constructors for strings, integers, custom choices, and custom widgets.
  • Supports horizontal and vertical scrolling layouts.
  • Supports infinite scrolling and null safety.

Weaknesses

  • Limited documentation regarding advanced styling and edge cases.
  • Relies purely on custom widget rendering rather than native pickers.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
WheelChooser(
    onValueChanged: (s) => print(s),
    datas: ["a", "b", "c"],
  );

Alternatives

Packages that do the same job and could replace wheel_chooser.

Works with

Packages commonly used together with wheel_chooser: ones it builds on, ones built on it, and its own family.