WhitelistingTextInputFormatter constructor

WhitelistingTextInputFormatter(Pattern whitelistedPattern)

Creates a formatter that allows only the insertion of whitelisted characters patterns.

The whitelistedPattern must not be null.

Implementation

WhitelistingTextInputFormatter(this.whitelistedPattern) :
  assert(whitelistedPattern != null);