Last updated:
0 purchases
number selection
Example #
How to use #
Import number_selection.dart
import 'package:number_selection/number_selection.dart';
copied to clipboard
And here an use example
NumberSelection(
theme: NumberSelectionTheme(
draggableCircleColor: Colors.blue,
iconsColor: Colors.white,
numberColor: Colors.white,
backgroundColor: Colors.deepPurpleAccent,
outOfConstraintsColor: Colors.deepOrange),
initialValue: 1,
minValue: -10,
maxValue: 10,
direction: Axis.vertical,
withSpring: true,
onChanged: (int value) => print("value: $value"),
enableOnOutOfConstraintsAnimation: true,
onOutOfConstraints: () => print("This value is too high or too low"),
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.