fix: dart analyzer

This commit is contained in:
mso7nueh
2024-11-15 14:54:27 +03:00
parent efb20eea1b
commit f2f4eafe2c
3 changed files with 30 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ class S {
static S get current {
assert(_current != null,
'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.');
'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.',);
return _current!;
}
@@ -42,7 +42,7 @@ class S {
static S of(BuildContext context) {
final instance = S.maybeOf(context);
assert(instance != null,
'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?');
'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?',);
return instance!;
}