Last updated:
0 purchases
number slider
number_slider #
number_slider provides a digital slide display
Installation #
Add number_slider: ^0.0.1 to pubspec.yaml dependencies. And import it:
import 'package:number_slider/number_slider.dart';
copied to clipboard
How to use #
Simply create a NumberSlider widget, and pass the required params:
NumberSliderController controller = NumberSliderController();
NumberSlider(
controller: controller,
initialNumber: '66,666.66',
textStyle: TextStyle(
color: Color(0xFFEC3944),
fontSize: 22,
)
)
copied to clipboard
When you want to change the number:
controller.number = '88,888.88';
copied to clipboard
Any symbol insertion is supported
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.