This commit is contained in:
2020-12-28 00:19:04 -05:00
parent 86c845b49b
commit c378a6203c
33 changed files with 833 additions and 200 deletions

View File

@@ -0,0 +1,6 @@
extension StringCap on String {
String get firstCap => '${this[0].toUpperCase()}${this.substring(1)}';
String get allCaps => this.toUpperCase();
String get eachFirstCap => this.split(" ").map((str) => str.firstCap).join(" ");
}