This commit is contained in:
2025-03-04 18:57:05 +02:00
parent d3b6bc5b38
commit 7654acd887
2 changed files with 17 additions and 17 deletions

View File

@@ -52,7 +52,7 @@ class AstromicWidgets {
assetURL: assetURL,
assetBytes: assetBytes,
assetFallback: assetFallback,
sizingMaster: sizingMaster,
sizingMaster: sizingMaster ?? ImageSizingMaster.w,
widthSizing: widthSizing,
/// Used when the width is Master and want to set fixed width OR if height is Master and want to constraint the width
@@ -65,15 +65,15 @@ class AstromicWidgets {
borderWidth: borderWidth,
borderColor: borderColor,
borderPadding: borderPadding,
radius: radius,
radius: radius ?? BorderRadius.zero,
shadow: shadow,
overlayColor: overlayColor,
overlayGradient: overlayGradient,
alignment: alignment,
fit: fit,
alignment: alignment ?? Alignment.center,
fit: fit ?? BoxFit.cover,
blendMode: blendMode,
fadeInCurve: fadeInCurve,
fadeInDuration: fadeInDuration,
fadeInCurve: fadeInCurve ?? Curves.ease,
fadeInDuration: fadeInDuration ?? const Duration(milliseconds: 250),
svgColor: svgColor,
loadingWidget: loadingWidget,
errorWidget: errorWidget,