fix: Improved and fixed some of the videoPlayer controls (#241)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-02-28 09:58:10 +01:00 committed by GitHub
parent effa97e0d8
commit 178af97294
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 75 additions and 14 deletions

View file

@ -14,7 +14,7 @@ class FladderImage extends ConsumerWidget {
final Widget? placeHolder;
final BoxFit fit;
final AlignmentGeometry? alignment;
final bool enableBlur;
final bool disableBlur;
final bool blurOnly;
const FladderImage({
required this.image,
@ -23,7 +23,7 @@ class FladderImage extends ConsumerWidget {
this.placeHolder,
this.fit = BoxFit.cover,
this.alignment,
this.enableBlur = false,
this.disableBlur = false,
this.blurOnly = false,
super.key,
});
@ -39,7 +39,7 @@ class FladderImage extends ConsumerWidget {
key: Key(newImage.key),
fit: StackFit.expand,
children: [
if (useBluredPlaceHolder && !enableBlur && newImage.hash.isNotEmpty && !enableBlur)
if (!disableBlur && useBluredPlaceHolder && newImage.hash.isNotEmpty)
Image(
fit: fit,
excludeFromSemantics: true,