singleLineFormatter property
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');