init
This commit is contained in:
9
lib/utils/tool.dart
Normal file
9
lib/utils/tool.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
class ToolFn {
|
||||
// 字符串是否为空
|
||||
static bool isBlank(String? str) {
|
||||
if (str == null || str.isEmpty) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -2,4 +2,5 @@ library utils;
|
||||
|
||||
export 'logger.dart';
|
||||
export 'status_bar.dart';
|
||||
export 'storage.dart';
|
||||
export 'storage.dart';
|
||||
export 'tool.dart';
|
||||
Reference in New Issue
Block a user