mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
feat: UI 2.0 and other Improvements (#357)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
9ca06eaa37
commit
e7b5bb40ff
169 changed files with 4584 additions and 3626 deletions
|
|
@ -13,6 +13,7 @@ class FladderImage extends ConsumerWidget {
|
|||
final Widget Function(BuildContext context, Object object, StackTrace? stack)? imageErrorBuilder;
|
||||
final Widget? placeHolder;
|
||||
final BoxFit fit;
|
||||
final BoxFit? blurFit;
|
||||
final AlignmentGeometry? alignment;
|
||||
final bool disableBlur;
|
||||
final bool blurOnly;
|
||||
|
|
@ -22,6 +23,7 @@ class FladderImage extends ConsumerWidget {
|
|||
this.imageErrorBuilder,
|
||||
this.placeHolder,
|
||||
this.fit = BoxFit.cover,
|
||||
this.blurFit,
|
||||
this.alignment,
|
||||
this.disableBlur = false,
|
||||
this.blurOnly = false,
|
||||
|
|
@ -41,7 +43,7 @@ class FladderImage extends ConsumerWidget {
|
|||
children: [
|
||||
if (!disableBlur && useBluredPlaceHolder && newImage.hash.isNotEmpty)
|
||||
Image(
|
||||
fit: fit,
|
||||
fit: blurFit ?? fit,
|
||||
excludeFromSemantics: true,
|
||||
filterQuality: FilterQuality.low,
|
||||
image: BlurHashImage(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue