FxTextInputFormat.pattern constructor

const FxTextInputFormat.pattern(
  1. String? pattern
)

Creates a digit pattern format. # placeholders consume digits.

Implementation

const FxTextInputFormat.pattern(this.pattern)
  : type = FxTextInputFormatType.pattern,
    decimalDigits = null,
    groupingSeparator = ',',
    decimalSeparator = '.',
    allowNegative = false;