Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 550 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 550 Bytes

ruler_picker 标尺选择器

This is a picker with ruler style for flutter.

标尺样式来选择数字,支持自定义 marker

demo 演示

demo

Usage 使用方法

RulerPicker(
  controller: _rulerPickerController,
  onValueChange: (value) {
    setState(() {
      _textEditingController.text = value.toString();
    });
  },
  width: 300,
  height: 100,
),

Example 示例代码

./example 文件夹

TODO

  • 支持多精度
  • 支持自定义标记
  • 支持起止范围