cash_text_field 0.0.1 copy "cash_text_field: ^0.0.1" to clipboard
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 🚀 #

  1. Add cash_text_field package to your dependencies in pubspec.yaml.

    dependencies:
      ...
      cash_text_field: ^0.0.1
    
  2. Run flutter pub get to install the package.

  3. Import the package in your Dart code.

    import 'package:cash_text_field/cash_text_field.dart';
    
  4. Use the Widget. Example:

           CashTextField(
             fieldController: controller,
             focusNode: focusNodeController,
             validator: (value) {},
             enabled: true,
             // isDark: false,
             formatLocale: "en_IN",
           ),
    
1
likes
110
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

A text field in which you can have cash symbol in front

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on cash_text_field