noWhitespace property

TextInputFormatter noWhitespace

Implementation

static TextInputFormatter get noWhitespace =>
    FilteringTextInputFormatter.deny(RegExp(r'[\s]'));