mirror of
https://github.com/immich-app/immich.git
synced 2026-08-03 09:21:49 -07:00
chore(mobile): Apply stricter linting rules for Flutter and known issues (#30373)
This commit is contained in:
@@ -97,7 +97,7 @@ class _BlurredBackdrop extends HookWidget {
|
||||
final blurhash = useDriftBlurHashRef(asset).value;
|
||||
if (blurhash != null) {
|
||||
// Use a nice cheap blur hash image decoration
|
||||
return Container(
|
||||
return DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(image: MemoryImage(blurhash), fit: BoxFit.cover),
|
||||
),
|
||||
@@ -109,7 +109,7 @@ class _BlurredBackdrop extends HookWidget {
|
||||
// safely use that as the image provider
|
||||
return ImageFiltered(
|
||||
imageFilter: ImageFilter.blur(sigmaX: 30, sigmaY: 30),
|
||||
child: Container(
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: getFullImageProvider(asset, size: Size(context.width, context.height)),
|
||||
|
||||
Reference in New Issue
Block a user