feat(image_compressing): add image compressing func + integrated in diary

This commit is contained in:
mso7nueh
2024-11-15 14:04:16 +03:00
parent eefd6bed34
commit efb20eea1b
6 changed files with 79 additions and 31 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!;
}