moon_ruler_picker 1.0.0
moon_ruler_picker: ^1.0.0 copied to clipboard
moon ruler picker
moon ruler picker ui.
Description #
this package provide you with good ruler picker ui.

Usage #
must use with SizedBox!
callback
-> data change call back method
-> call back parameter type is double type
height
-> widget's height
borderWidth
-> ruler graduation border
SizedBox(
width: 300,
height: 100,
child: RulerPicker(
callback: (data) {
setState(() {
_data = data;
});
},
selectedNumber: _data,
height: 50,
borderWidth: 2,
pickedColor: const Color(0XFF0180BE),
color: const Color(0XFF0180BE).withOpacity(0.3)
),
)