allow static method

TextInputFormatter allow(
  1. Pattern filterPattern, {
  2. String replacementString = '',
})

Implementation

static TextInputFormatter allow(Pattern filterPattern, {String replacementString = ''}) =>
    FilteringTextInputFormatter.allow(filterPattern, replacementString: replacementString);