init flutter shared project
This commit is contained in:
12
lib/cubetiq_flutter_shared.dart
Normal file
12
lib/cubetiq_flutter_shared.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
library cubetiq_flutter_shared;
|
||||
|
||||
|
||||
class MyFunction {
|
||||
static String? asUpperCaseThenTrim(String? text) {
|
||||
if (text == null || text.isEmpty) {
|
||||
return text;
|
||||
}
|
||||
|
||||
return text.toUpperCase().trim();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user