Skip to content
pubscout

simple_ruler_picker

0.1.1, released 2 years ago by an unverified publisher

A customizable ruler-style number picker widget for Flutter.

WASM-ready
$ flutter pub add simple_ruler_picker
Source repository

What it does

SimpleRulerPicker provides a scrollable ruler-like interface allowing users to select a numeric value between a minimum and maximum range. It supports customizable line heights, scale spacing, colors, and both horizontal and vertical axis orientations.

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

Use it when

  • You need a visually appealing number selection widget resembling a physical ruler.
  • Users need to scroll through a continuous numeric range like height, weight, or age inputs.

Skip it when

  • You require standard text-field numeric inputs or dropdown spinners.
  • You need complex date or time picking rather than a simple continuous scalar value.

Strengths

  • Highly customizable scale elements, line heights, strokes, and colors.
  • Supports both horizontal and vertical orientations.

Weaknesses

  • Limited to integer value selections within a fixed range.
  • Only provides basic ruler styling out-of-the-box.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SimpleRulerPicker(
  minValue: 0,
  maxValue: 100,
  initialValue: 50,
  onValueChanged: (value) {
    print("Selected value: $value");
  },
)

Alternatives

Packages that do the same job and could replace simple_ruler_picker.