validation/single_space_formatter library

Classes

SingleSpaceFormatter
A custom TextInputFormatter that prevents consecutive spaces and ensures that only a single space is allowed between words.