2022-08-08 02:45:24 +03:00
2019-03-10 18:52:41 +02:00
2019-03-22 09:08:05 +02:00
2022-08-08 02:26:27 +03:00
2022-08-08 02:45:24 +03:00
2022-08-08 02:26:27 +03:00
2022-08-08 02:37:49 +03:00
2022-08-08 02:26:27 +03:00
2022-08-08 02:37:49 +03:00
2019-03-10 18:52:41 +02:00
2022-08-08 02:26:27 +03:00
2022-08-08 02:43:53 +03:00
2022-08-08 02:26:27 +03:00
2022-08-08 02:26:27 +03:00
2022-08-08 02:43:53 +03:00
2022-08-08 02:37:49 +03:00
2019-03-10 18:52:41 +02:00

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),
  );
}
Description
A simple Flutter widget for updating a number using a pitch bender-like spinner
Readme BSD-2-Clause 73 KiB
Languages
Dart 96.3%
Java 3.7%