|
@@ -5,7 +5,7 @@ class CachedNetworkImageWidget extends StatelessWidget {
|
|
|
const CachedNetworkImageWidget({
|
|
const CachedNetworkImageWidget({
|
|
|
super.key,
|
|
super.key,
|
|
|
required this.imageUrl,
|
|
required this.imageUrl,
|
|
|
- required this.count,
|
|
|
|
|
|
|
+ this.count = 10,
|
|
|
this.width,
|
|
this.width,
|
|
|
this.height,
|
|
this.height,
|
|
|
this.placeholder,
|
|
this.placeholder,
|
|
@@ -13,7 +13,7 @@ class CachedNetworkImageWidget extends StatelessWidget {
|
|
|
required this.cached,
|
|
required this.cached,
|
|
|
this.httpHeaders,
|
|
this.httpHeaders,
|
|
|
this.cacheKey,
|
|
this.cacheKey,
|
|
|
- this.loadwidget,
|
|
|
|
|
|
|
+ this.loadwidget = const CircularProgressIndicator(),
|
|
|
required this.imageBuilder,
|
|
required this.imageBuilder,
|
|
|
});
|
|
});
|
|
|
final String imageUrl;
|
|
final String imageUrl;
|