custom_formatter 0.0.2 copy "custom_formatter: ^0.0.2" to clipboard
custom_formatter: ^0.0.2 copied to clipboard

Custom formatter to format numbers.

Custom Formatter #

Custom Formatter to format input values in TextFormfield or any number.

Image

Getting started #

Add this to your package's pubspec.yaml file

dependencies:
  custom_formatter: ^0.0.2

Usage #

Next, you just have to import the package using:

import 'package:custom_formatter/custom_formatter.dart';
  Widget build(BuildContext context) {
   return TextFormField(
            inputFormatters: [
             CustomNumberFormatter(),
            ],
          );
  }
  Widget build(BuildContext context) {
   return Text(
            int.parse("123456").format,
          );
  }

Additional information #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

0
likes
140
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

Custom formatter to format numbers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on custom_formatter