Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

patternformatter

a flutter package provides some implementations of text input formatter that format input with pre-defined patterns.

how to use text input formatter

import 'package:pattern_formatter/pattern_formatter.dart';

thousands grouping

  • integer number:

text input formatter

textfield(
  keyboardtype: textinputtype.number,
  inputformatters: [
    thousandsformatter()
  ],
)
  • decimal number:

decimal_formatter

textfield(
  keyboardtype: textinputtype.number,
  inputformatters: [
    thousandsformatter(allowfraction: true)
  ],
)

card number grouping

card_number_formatter

textfield(
  keyboardtype: textinputtype.number,
  inputformatters: [
    creditcardformatter(),
  ],
)

date format

date_formatter

textfield(
  keyboardtype: textinputtype.number,
  inputformatters: [
    dateinputformatter(),
  ],
)

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.