Is such a thing possible? And is it possible to follow these rules?
similar questions have been asked before but they are forsimple capital the first letter of first word and not more
Is such a thing possible? And is it possible to follow these rules?
similar questions have been asked before but they are forsimple capital the first letter of first word and not more
Option 1: You can use textCapitalization
property of a TextField widget. Also do take a reference for detailed API info here Text Capitalization Official API - https://api.flutter.dev/flutter/services/TextCapitalization-class.html
TextField(
textCapitalization: TextCapitalization.characters,
)
here you can use couple of options: TextCapitalization.words, TextCapitalization.sentences
Option 2: Using .toUpperCase() method
After String put .toUpperCase()
var string = "text".toUpperCase()