[FEAT] working on the image widget for dynamic memory management and caching.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user