Skip to content

trlanfeng/ruler_picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

This is a picker with ruler style for flutter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published