Skip to content

Commit

Permalink
添加未初始化的错误提示
Browse files Browse the repository at this point in the history
  • Loading branch information
李卓原 committed Oct 22, 2020
1 parent 0deac46 commit 0aef18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screenutil.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ScreenUtil {
factory ScreenUtil() {
assert(
_instance != null,
'\nEnsure to initialize ScreenUtil before accessing it.Please execute the init method:ScreenUtil.init()',
'\nEnsure to initialize ScreenUtil before accessing it.\nPlease execute the init method : ScreenUtil.init()',
);
return _instance;
}
Expand Down

0 comments on commit 0aef18d

Please sign in to comment.