ruler_picker_bn 0.0.6 copy "ruler_picker_bn: ^0.0.6" to clipboard
ruler_picker_bn: ^0.0.6 copied to clipboard

Flutter package for ruler type value picker. You can get horizontal and vertical ruler view with the package.

ruler_picker_bn #

Flutter package for ruler type value picker

Screenshots #

Usage #

Example

To use this package :

  dependencies:
    flutter:
      sdk: flutter
    ruler_picker_bn:

How to use #

...
 SizedBox(
  width: 200,
  height: 75,
  child: RulerPicker(
                    onChange: (val) {
                        setState(() {
                          valueKG = val;
                        });
                    },
                    background: Colors.white,
                    lineColor: Colors.black,
                    direction: Axis.horizontal,
                    startValue: 70,
                    maxValue: 200,
                  ),
 ),
...

List Of Properties #

  • background : set ruler background color
  • lineColor : set ruler value line color
  • direction : set ruler direction
  • startValue : set ruler starting value position
  • maxValue : set ruler max value
  • minValue : set ruler min value
  • padding : set ruler padding value
  • onChange : event for get to ruler value

License #

Copyright (c) 2022 BoredNerdy

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

10
likes
120
pub points
76%
popularity

Publisher

verified publisherborednerdy.com

Flutter package for ruler type value picker. You can get horizontal and vertical ruler view with the package.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, scrollable_positioned_list

More

Packages that depend on ruler_picker_bn