singleLineFormatter property

BlacklistingTextInputFormatter singleLineFormatter
final

A BlacklistingTextInputFormatter that forces input to be a single line.

Implementation

static final BlacklistingTextInputFormatter singleLineFormatter
    = BlacklistingTextInputFormatter(RegExp(r'\n'))