Force uppercase TextFormField Flutter

Issue How can I force the TextFormField to only have uppercase letters ? textCapitalization: TextCapitalization.characters lets the user switch back to lowercase, so it isn’t sufficient for what I want. Solution add textInputFormatter to text field TextField(inputFormatters: [UpperCaseTextFormatter()]), formatter class

Continue reading