count_stepper 0.0.4 count_stepper: ^0.0.4 copied to clipboard
A simple Flutter widget that allows you to increment/decrement a value.
import 'package:flutter/material.dart';
import 'package:count_stepper/count_stepper.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Scaffold(
body: Center(
child: CountStepper(iconColor: Theme.of(context).primaryColor),
),
),
);
}
}