singleLineFormatter property Null safety
final
A TextInputFormatter that forces input to be a single line.
Implementation
static final TextInputFormatter singleLineFormatter = FilteringTextInputFormatter.deny('\n');
A TextInputFormatter that forces input to be a single line.
static final TextInputFormatter singleLineFormatter = FilteringTextInputFormatter.deny('\n');