counter button flutter plugin

Overview

counter_button

pub package GitHub stars GitHub forks GitHub license GitHub issues

Counter Button is a flutter library that allows you to create a button with animation effects when you increase or decrease the counter value.

Screenshots

Demo Loading demo

Installing

dependencies:
  counter_button: ^1.0.1

Import

import 'package:counter_button/counter_button.dart';

How To Use

CounterButton(
  loading: false,
  onChange: (int val) {
    setState(() {
      _counterValue = val;
    });
  },
  count: _counterValue,
  countColor: Colors.purple,
  buttonColor: Colors.purpleAccent,
  progressColor: Colors.purpleAccent,
)

parameters

parameter description default
count Value of the counter
countColor Color of the counter Colors.black
onChange Value change callback when the buttons are pressed
loading For showing the linear progress indicator
progressColor Color of the progress indicator Colors.black
buttonColor Color of the icon button Colors.black
addIcon Add button icon
removeIcon Remove button icon const Icon(Icons.remove)

Bugs & Requests

If you encounter any bugs feel free to open an issue. Raise a ticket on github for suggestions. Pull request are also welcome.

Flutter

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

For help on editing plugin code, view the documentation.

License

MIT License

You might also like...

Flutter plugin to display a popup menu button widget with handsome design and easy to use.

Flutter plugin to display a popup menu button widget with handsome design and easy to use.

menu_button Flutter widget to display a popup menu button very simply and easily customizable. Resources Documentation Pub Package GitHub Repository I

Sep 27, 2022

A 3D pushable button built in Flutter. Ideal for important CTAs in the app.

A 3D pushable button built in Flutter. Ideal for important CTAs in the app.

Pushable Button A 3D pushable button built in Flutter. Ideal for important CTAs in the app. Usage PushableButton( child: Text('ENROLL NOW', style: s

May 14, 2022

A flutter package that provides multiple states for a button with endless customizability.

A flutter package that provides multiple states for a button with endless customizability.

multi_state_button A package which provides multiple states for a button with endless customizability. Getting Started Add dependency dependencies:

Apr 11, 2022

Flutter package to create list of radio button, by providing a list of objects it can be a String list or list of Map.

Flutter package to create list of radio button, by providing a list of objects it can be a String list or list of Map.

Custom Radio Group List Flutter package to create list of radio button, by providing a list of objects it can be a String list or list of Map. Feature

Nov 30, 2021

A sign in button helper library for Flutter

A sign in button helper library for Flutter

A Flutter plugin for iOS and Android for generating signin buttons for different social media account. Feedback and Pull Requests are most welcome! In

Dec 29, 2022

How to Create Bouncing Button in Flutter

How to Create Bouncing Button in Flutter

Bouncing Button 📱 Screenshots Download the Following App for Preview 🖥 Flutter Tutorial All Flutter Tutorials plus additional Code and shorter posts

Mar 15, 2022

A Flutter app that shows a random Steve Jobs quote on every button click

A Flutter app that shows a random Steve Jobs quote on every button click

Inspire App An app I made while learning Flutter that shows a random Steve Jobs quote on every button click. Used technologies Dart Screenshots Contri

Dec 2, 2021

A Flutter package that allows Android users to press the back-button twice to close the app.

A Flutter package that allows Android users to press the back-button twice to close the app.

double_back_to_close_app A Flutter package that allows Android users to press the back-button twice to close the app. Usage Inside a Scaffold that wra

Oct 10, 2022

A Flutter package with an advanced dropdown Button which let you give different design on DropdownButton

Use decorated_dropdown button to add DropdownButton with decoration properties l

Dec 17, 2021
Comments
  • V1

    V1

    IntrinsicWidth wrapped around the column for restricting column width Changed the progress indicator color in example removed test folder from example updated analysis options updated changelog added comments to counter_button.dart removed counter_button_web.dart removed plugin block from pubspec removed default LICENSE file added screenshots resized demo gifs Create LICENSE from github added how to install, demo gifs, example in readme version updated to v1

    opened by karantanwar 4
Releases(v1.0.1)
  • v1.0.1(Nov 7, 2021)

    What's Changed

    • version 1.0.1 by @karantanwar in https://github.com/alcohub/counter_button/pull/4

    Full Changelog: https://github.com/alcohub/counter_button/compare/v1.0.0...v1.0.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Nov 7, 2021)

    Initial release of the plugin on pub.dev

    What's Changed

    • V1 by @karantanwar in https://github.com/alcohub/counter_button/pull/1

    New Contributors

    • @karantanwar made their first contribution in https://github.com/alcohub/counter_button/pull/1

    Full Changelog: https://github.com/alcohub/counter_button/commits/v1.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
Altercode
Altercode
Flutter Counter is a plugin written in dart for flutter which is really simple and customizeable.

Flutter Counter (iOS & Android) Description Flutter Counter is a plugin written in dart for flutter which is really simple and customizeable. Create i

Salmaan Ahmed 15 Sep 18, 2022
TestingApp - Just an Counter UI using Flutter

Flutter Counter App Just an Counter UI using Flutter UI Thank You! Please ⭐ this

Saif Afridi 0 Jan 8, 2022
Contador - People counter Application developed with Flutter

Contador de pessoas Aplicativo desenvolvido com Flutter, ele realiza o controle

Milena de Oliveira 1 Feb 9, 2022
Counter coins project - Flutter client

Counter Coins Client Client made with Flutter for Counter Coins project! Table of Contents About the Project Built With Getting Started Prerequisites

Dylan Donné 2 Apr 2, 2022
A counter widget for flutter that support different kinds of customization.

Customizable Counter A counter widget that support different kinds of customization. Installation From pubspec.yaml Add the following line to pubspec.

Md. Imam Hossain 2 Sep 6, 2022
GetX tutorial with simple counter app.

getx_counter GetX tutorial 1, simple counter app. Getting Started This project is a starting point for a Flutter application. A few resources to get y

Walid Wazini 0 Jan 3, 2022
Neha Tanwar 4 Feb 2, 2022
Eder Zambrano 0 Feb 13, 2022
null 0 Feb 16, 2022
Animation Examples: stepper Counter loading Ripple Circle Generator water Flow Animation Wave

AnimatioExamples(stepperCounter-loadingRippleCircleGenerator-waterFlowAnimationWave) A new Flutter project. Getting Started This project is a starting

Ahmed Abdelkader Khedr 9 Nov 1, 2022