make styles consistent and ignore case when matching suggestions
This commit is contained in:
1 parent
3b6226aa06
commit
b374eb8496
2 files changed
+15
-12
No files matched your search
@@ -20,4 +20,7 @@
|
||||
extension StringExtension on String {
|
||||
String toCapitalized() =>
|
||||
isEmpty ? this : '${this[0].toUpperCase()}${substring(1)}';
|
||||
|
||||
bool startsWithIgnoreCase(String prefix) =>
|
||||
toLowerCase().startsWith(prefix.toLowerCase());
|
||||
}
|
||||
Reference in new issue
Block a user