flutter_spinbox
Flutter用のMaterialとCupertino SpinBox
- スター
- 33
- フォーク
- 34
- 最終プッシュ(UTC)
- 2025/04/07
- プロジェクト状態
- 公開中
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
SpinBox for Flutter
SpinBox for Flutter is a numeric input widget with an input field for entering a specific value, and spin buttons for quick, convenient, and accurate value adjustments.
SpinBox for Flutter comes in two variants. It provides implementations for both designs in Flutter, Material and Cupertino (iOS).
Material Design
import 'package:flutter_spinbox/material.dart'; // or flutter_spinbox.dart for both
SpinBox(
min: 1,
max: 100,
value: 50,
onChanged: (value) => print(value),
)
See also Material Components widgets package.
Cupertino (iOS-style) Design
import 'package:flutter_spinbox/cupertino.dart'; // or flutter_spinbox.dart for both
CupertinoSpinBox(
min: 1,
max: 100,
value: 50,
onChanged: (value) => print(value),
)
See also Cupertino (iOS-style) widgets package.
Guidelines
Spin boxes are best suited for such applications
- that deal with large numeric value ranges and high precisions,
- where users typically know upfront the exact value they are entering,
- where users may later have a need to accurately adjust a previously entered value.
As a rule of thumb, spin boxes are great for scenarios where
- sliders and alike UI controls are too inaccurate,
- tumblers and alike UI controls cannot provide enough value range,
- and a plain text field is inconvenient for value adjustments (open the VKB, move the cursor, erase the previous value, enter a new value... vs. tap-tap-done).
Usage
To use this package, add flutter_spinbox as a dependency in your pubspec.yaml file.
カテゴリー
使用している依存関係
依存関係一覧 5 件
- cupertino_icons
^1.0.2 - flutter
{"sdk":"flutter"} - meta
^1.3.0 - flutter_test開発用
{"sdk":"flutter"} - lint開発用
^2.0.0
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗

