number_text_input_formatter

Creator: coderz1093

Last updated:

Add to Cart

Description:

number text input formatter

Number Text Input Formatter #
Number Text Input Formatter for Flutter.
Installation #
# Add into pubspec.yaml
dependencies:
number_text_input_formatter: ^lastVersion
copied to clipboard
Usage #
For number
TextField(
inputFormatters: [
NumberTextInputFormatter(
integerDigits: 10,
decimalDigits: 2,
maxValue: '1000000000.00',
decimalSeparator: '.',
groupDigits: 3,
groupSeparator: ','
allowNegative: false,
overrideDecimalPoint: true,
insertDecimalPoint: false,
insertDecimalDigits: true,
),
],
keyboardType: TextInputType.number,
),
copied to clipboard
For currency
TextField(
inputFormatters: [CurrencyTextInputFormatter()],
keyboardType: TextInputType.number,
),
copied to clipboard
For percentage
TextField(
inputFormatters: [PercentageTextInputFormatter()],
keyboardType: TextInputType.number,
),
copied to clipboard

License

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

Customer Reviews

There are no reviews.