rupee_textfield 0.0.2
rupee_textfield: ^0.0.2 copied to clipboard
Currency TextField Formatter
RupeeTextField Package #
The rupee_textfield package provides an easy way to format currency inputs in Flutter applications using TextFormField. It includes customization options for currency symbols and convenient string extensions for formatting and parsing currency values.
Features #
- Currency Input Formatting: Integrates seamlessly with
TextFormFieldto format input as currency. - Customizable Currency Symbol: Set and display specific currency symbols (e.g., ₹, $, €, £).
- String Extensions:
toUnFormattedString(): Convert a formatted currency string into a plain string.toUnFormattedInt(): Convert a formatted currency string into an integer.
Getting Started #
To use the rupee_textfield package in your Flutter application, follow these steps:
-
Add Dependency
Add
rupee_textfieldto yourpubspec.yamlfile:dependencies: flutter: sdk: flutter rupee_textfield: ^1.0.0 -
usage
To use the package, follow the instructions in the /example folder.
[Alt text]