wheel_spinner 0.5.0 copy "wheel_spinner: ^0.5.0" to clipboard
wheel_spinner: ^0.5.0 copied to clipboard

A simple Flutter widget for updating a number using a pitch bender-like spinner

wheel_spinner #

WheelSpinner provides you with a simple number spinner that resembles a wheel, knob, or more specifically pitch bender knobs. It allows you to update a single double value with a finger fling or drag as in the example below.

How to use #

Simply import the package, and use the exposed WheelSpinner widget.

See all the individual parameters for more details on theme and display customization, as well as event handlers. Here is a simple usage example:

Widget build(BuildContext context) {
  return WheelSpinner(
    value: value,
    width: width,
    min: 0.0,
    max: 100.0,
    borderRadius: borderRadius,
    minMaxLabelBuilder: (value) => value,
    onSlideUpdate: (val) => onChange(value),
  );
}
12
likes
0
pub points
57%
popularity

Publisher

verified publishercasraf.dev

A simple Flutter widget for updating a number using a pitch bender-like spinner

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on wheel_spinner