string_capitalize 0.0.6 string_capitalize: ^0.0.6 copied to clipboard
Simple extension for Dart language to capitalize our strings
To uppercase first letter of the word
Install #
Dart #
dart pub add string_capitalize
Flutter #
flutter pub add string_capitalize
Methods #
-
capitalize
method does transform first letter a uppercase of theString
or returns emptyString
; -
capitalizeOrFail
method does transform first letter a uppercase of theString
or returns an exception; -
capitalizeEach
method does transform all first letter a uppercase of words of theString
or returns emptyString
; -
capitalizeEachOrFail
method does transform all first letter a uppercase of words of theString
or returns an exception; -
startsWithCapital
method verify if theString
starts with with a capital letter.