From 4c855405587992c60f93a607dfbf5578cc267e33 Mon Sep 17 00:00:00 2001 From: "Michael W. Aziz" Date: Tue, 4 Mar 2025 18:17:00 +0200 Subject: [PATCH] [0.1.3] --- CHANGELOG.md | 1 + lib/src/Widgets/src/image.widget.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 912d645..c3edbe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## 0.1.3 - **FIX**: Added export for `ImageSizingMaster`. +- **FIX**: Removed `placeholderBuilder` Error because I was supplying it along with `progressIndicatorBuilder`. ## 0.1.2 - **FIX**: Updated Switcher toggle not recognizing disabled mode. diff --git a/lib/src/Widgets/src/image.widget.dart b/lib/src/Widgets/src/image.widget.dart index e28db84..69d3de5 100644 --- a/lib/src/Widgets/src/image.widget.dart +++ b/lib/src/Widgets/src/image.widget.dart @@ -209,7 +209,7 @@ class AstromicImage extends StatelessWidget { height: size.height, child: loadingWidget != null ? loadingWidget!(bytes?.cumulativeBytesLoaded, bytes?.expectedTotalBytes) : defaultLoadingWidget, ), - placeholderBuilder: (BuildContext context) => loadingWidget != null ? loadingWidget!(null, null) : defaultLoadingWidget, + // placeholderBuilder: (BuildContext context) => loadingWidget != null ? loadingWidget!(null, null) : defaultLoadingWidget, fadeInCurve: fadeInCurve, fadeInDuration: fadeInDuration, imageBuilder: (BuildContext context, Widget image) => Container(