|
@@ -20,7 +20,7 @@ typedef ImageWidgetBuilder =
|
|
|
class CachedNetworkImageWidget extends StatelessWidget {
|
|
class CachedNetworkImageWidget extends StatelessWidget {
|
|
|
final String imageUrl;
|
|
final String imageUrl;
|
|
|
final int count;
|
|
final int count;
|
|
|
- final BoxFit fit;
|
|
|
|
|
|
|
+
|
|
|
final double? width;
|
|
final double? width;
|
|
|
final double? height;
|
|
final double? height;
|
|
|
final Widget? placeholder;
|
|
final Widget? placeholder;
|
|
@@ -35,7 +35,7 @@ class CachedNetworkImageWidget extends StatelessWidget {
|
|
|
super.key,
|
|
super.key,
|
|
|
required this.imageUrl,
|
|
required this.imageUrl,
|
|
|
required this.cacheKey,
|
|
required this.cacheKey,
|
|
|
- required this.fit,
|
|
|
|
|
|
|
+
|
|
|
this.count = 10,
|
|
this.count = 10,
|
|
|
this.height,
|
|
this.height,
|
|
|
this.width,
|
|
this.width,
|