lettersOnly static method

TextInputFormatter lettersOnly()

仅字母

Implementation

static TextInputFormatter lettersOnly() => FilteringTextInputFormatter.allow(RegExp('[a-zA-Z]'));