ペルシャ・アラビア数字フォーマッター
adultcode/Persian-Arabic-number-formatter open-source repository details.
- スター
- 0
- フォーク
- 0
- 最終プッシュ(UTC)
- 2023/09/20
- プロジェクト状態
- 公開中
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Persian/Arabic number input formatter
If you use the digitsOnly formatter option on a TextField in Flutter, it only works with English digits, and you can't use Persian/Arabic numbers. However, if you don't use any input formatter, then you can't convert Persian/Arabic digits to an integer
How to use
Add this line to your file
package:persian_input/validator/number_validator.dart
Now simply add PersianNumberValidator class in inputFormatters list.
TextField(
inputFormatters:[
PersianNumberValidator()
],
decoration: const InputDecoration(
hintText: 'With persian formatter'
),
)
言語C++CMakeDartHTMLSwiftCShellObjective-CJavaKotlin
使用している依存関係
依存関係一覧 3 件
- flutter
{"sdk":"flutter"} - flutter_test開発用
{"sdk":"flutter"} - flutter_lints開発用
^2.0.0
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
