feat: env dropdown selector

This commit is contained in:
DenserMeerkat
2024-06-14 20:08:34 +05:30
parent 3ec2e87695
commit 5c18a111f3
10 changed files with 372 additions and 139 deletions

View File

@ -2,4 +2,11 @@ extension StringExtension on String {
String capitalize() {
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
}
String clip(int limit) {
if (length <= limit) {
return this;
}
return "${substring(0, limit)}...";
}
}