caseFormatter static method
Creates a case formatter (uppercase/lowercase)
uppercase - true for uppercase, false for lowercase
Implementation
static List<TextInputFormatter> caseFormatter({bool uppercase = true}) =>
<TextInputFormatter>[
uppercase ? UpperCaseTextFormatter() : LowerCaseTextFormatter(),
];