[FEAT] working on the image widget for dynamic memory management and caching.

This commit is contained in:
2025-09-12 19:18:54 -04:00
parent 59915852bc
commit 08e4d97865

View File

@@ -46,6 +46,7 @@ class AstromicWidgets {
Color? svgColor, Color? svgColor,
Widget Function(int? loadedBytes, int? totalBytesToLoad)? loadingWidget, Widget Function(int? loadedBytes, int? totalBytesToLoad)? loadingWidget,
Widget Function(dynamic error, StackTrace? stackTrace)? errorWidget, Widget Function(dynamic error, StackTrace? stackTrace)? errorWidget,
double? imageQuality,
}) => }) =>
AstromicImage( AstromicImage(
assetPath: assetPath, assetPath: assetPath,
@@ -77,6 +78,7 @@ class AstromicWidgets {
svgColor: svgColor, svgColor: svgColor,
loadingWidget: loadingWidget, loadingWidget: loadingWidget,
errorWidget: errorWidget, errorWidget: errorWidget,
imageQuality: imageQuality,
); );
/// Customized Blur widget for the Astromic system. /// Customized Blur widget for the Astromic system.