forked from eatvio/eatvio_app
updated designe of aboute diet page
This commit is contained in:
9
lib/core/utils/string_extentions.dart
Normal file
9
lib/core/utils/string_extentions.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
|
||||
extension Capitalization on String {
|
||||
|
||||
String capitalize() {
|
||||
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user