MarcinusX / Numberpicker
Licence: bsd-2-clause
Stars: ✭ 191
Programming Languages
dart
5743 projects
NumberPicker
NumberPicker is a custom widget designed for choosing an integer or decimal number by scrolling spinners.
Example:
(See example
for more)
class _IntegerExample extends StatefulWidget {
@override
__IntegerExampleState createState() => __IntegerExampleState();
}
class __IntegerExampleState extends State<_IntegerExample> {
int _currentValue = 3;
@override
Widget build(BuildContext context) {
return Column(
children: <Widget>[
NumberPicker(
value: _currentValue,
minValue: 0,
maxValue: 100,
onChanged: (value) => setState(() => _currentValue = value),
),
Text('Current value: $_currentValue'),
],
);
}
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].