make styles consistent and ignore case when matching suggestions
This commit is contained in:
@@ -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