cash_text_field 0.0.1
cash_text_field: ^0.0.1 copied to clipboard
A text field in which you can have cash symbol in front
cash_text_field #
A Flutter widget for entering numbers, automatically formatting them as localized currency values based on the provided locale or system default. This package uses the intl package to handle number and currency formatting.
Getting Started 🚀 #
-
Add cash_text_field package to your dependencies in pubspec.yaml.
dependencies: ... cash_text_field: ^0.0.1 -
Run
flutter pub getto install the package. -
Import the package in your Dart code.
import 'package:cash_text_field/cash_text_field.dart'; -
Use the Widget. Example:
CashTextField( fieldController: controller, focusNode: focusNodeController, validator: (value) {}, enabled: true, // isDark: false, formatLocale: "en_IN", ),