To uppercase first letter of the word
Install
Dart
dart pub add string_capitalize
Flutter
flutter pub add string_capitalize
Methods
String
-
capitalize
transform the first letter of the oneString
to uppercase; -
capitalizeEach
transform the first letter of each word from theString
to uppercase.
List
capitalize
- transform the first letter of each item to uppercase.