moon_ruler_picker 1.0.4
moon_ruler_picker: ^1.0.4 copied to clipboard
Deliver a superior user experience through the smoothly customized Ruler Picker, featuring natural swipe acceleration and resistance!
Description #
this package provide you with good ruler picker!
Experience the Ruler Picker smoothly gliding through a swift swipe motion, coming to a natural halt!
Customize the movement of the Ruler Picker by setting acceleration and resistance to achieve your desired behavior.

Getting started #
flutter pub add moon_ruler_picker
Usage #
RulerPicker(
width: 300, // widget's width
height: 200, // widget's height
resistance: 1, // drag resistance
acceleration: 1, // drag acceleration
callback: (data) { // data change callback
setState(() {
_data = data;
});
},
selectedNumber: _data, // first data
borderWidth: 2, // ruler Graduation's width
pickedBarColor: const Color(0XFF0180BE), // picked ruler's color
barColor: const Color(0XFF0180BE).withOpacity(0.3) // default ruler's color
),