mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-23 15:47:57 +00:00
resposnive text length of space model name
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class StringUtils {
|
||||
static String capitalizeFirstLetter(String text) {
|
||||
if (text.isEmpty) return text;
|
||||
return text[0].toUpperCase() + text.substring(1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user