forked from eatvio/eatvio_app
fix: dart analyzer
This commit is contained in:
@@ -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!;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user