Source Code added
This commit is contained in:
parent
800376eafd
commit
9efa9bc6dd
3912 changed files with 754770 additions and 2 deletions
7
mobile/lib/utils/string_helper.dart
Normal file
7
mobile/lib/utils/string_helper.dart
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extension StringExtension on String {
|
||||
String capitalizeFirstLetter() {
|
||||
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
|
||||
}
|
||||
}
|
||||
|
||||
String s(num count) => (count == 1 ? '' : 's');
|
||||
Loading…
Add table
Add a link
Reference in a new issue