cubos_extensions 1.2.0 cubos_extensions: ^1.2.0 copied to clipboard
Flutter package containing the most used extension functions in Cubos Tecnologia's projects.
Cubos Extensions #
Flutter package containing the most used extension functions in Cubos Tecnologia's projects.
Features #
String Extensions #
cleanCpf
cleanPhone
cleanCep
isNumeric
isNullOrBlank
isNotNullOrBlank
capitalize
capitalizeWords
firstName
isBrazilianCountryOrState
hasUppercase
hasLowercase
hasLetter
hasDigits
hasSpecialCharacters
toDateTime
toInt
DateTime Extensions #
toDateTimeStr
toIsoStr
subtractYears
toWeekdayStr
toTimeStr
toMonthStr (pt-br)
toCompleteDateStr
toDateAndTimeStr
List
lastIndex
copyOf
removeLastWhere
isNullOrEmpty
List
sum
Duration Extensions #
toTimeStr
Let's grow together! #
You can support us making your own contributions! Report bugs or unexpectec behaviors and suggest new features on the issues page from the Github repository. All the Pull Requests must have complete unit tests as requirement to be accepted.