separated_number_input_formatter 0.0.2

Flutter Android iOS web

A TextInputFormatter that allows the insertion of digits separated by specified separator.

separated_number_input_formatter #

A TextInputFormatter that allows the insertion of digits separated by specified separator.
It's very convenient for credit card inputting, price inputting and so on.

CreditCardPrice
credit_cardprice

Usage #

// Import package
import 'package:separated_number_input_formatter/separated_number_input_formatter.dart';

class Example extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return TextField(
      inputFormatters: [
        // Use with digits and separator parameters.
        SeparatedNumberInputFormatter(4, separator: '-'),
      ],
    );
  }
}

If you want to know more this formatter, let's try my example project.

2
likes
110
pub points
57%
popularity

A TextInputFormatter that allows the insertion of digits separated by specified separator.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

blueberryjam09@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on separated_number_input_formatter