thousands_separator_formatter 1.1.0 copy "thousands_separator_formatter: ^1.1.0" to clipboard
thousands_separator_formatter: ^1.1.0 copied to clipboard

A TextInputFormatter that inserts thousands separators into a TextField as the user types, keeping the caret next to the same character.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add thousands_separator_formatter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  thousands_separator_formatter: ^1.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:thousands_separator_formatter/thousands_separator_formatter.dart';
1
likes
160
points
139
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A TextInputFormatter that inserts thousands separators into a TextField as the user types, keeping the caret next to the same character.

Repository (GitHub)
View/report issues

Topics

#text #input #formatter #text-field

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on thousands_separator_formatter