custom_formatter

Creator: coderz1093

Last updated:

0 purchases

custom_formatter Image
custom_formatter Images

Languages

Categories

Add to Cart

Description:

custom formatter

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

Getting started #
Add this to your package's pubspec.yaml file
dependencies:
custom_formatter: ^0.0.2
copied to clipboard
Usage #
Next, you just have to import the package using:
import 'package:custom_formatter/custom_formatter.dart';
copied to clipboard
Widget build(BuildContext context) {
return TextFormField(
inputFormatters: [
CustomNumberFormatter(),
],
);
}
copied to clipboard
Widget build(BuildContext context) {
return Text(
int.parse("123456").format,
);
}
copied to clipboard
Additional information #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.