v1.0.1counter_button
カウンターボタンは、カウンター値を増加または減少する際にアニメーション効果を持つボタンを作成できるFlutterライブラリです。
31いいね 27030日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
カウンター ボタン Flutter プラグイン
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Counter Button is a flutter library that allows you to create a button with animation effects when you increase or decrease the counter value.

dependencies:
counter_button: ^1.0.1
import 'package:counter_button/counter_button.dart';
CounterButton(
loading: false,
onChange: (int val) {
setState(() {
_counterValue = val;
});
},
count: _counterValue,
countColor: Colors.purple,
buttonColor: Colors.purpleAccent,
progressColor: Colors.purpleAccent,
)
| 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) |
If you encounter any bugs feel free to open an issue. Raise a ticket on github for suggestions. Pull request are also welcome.
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
MIT License
依存関係一覧 3 件
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗