1
0
ub3lal 1 сар өмнө
parent
commit
21f65c47b0

+ 2 - 2
lib/src/CachedNetworkImageWidget.dart

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