ub3lal hace 1 mes
padre
commit
21f65c47b0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      lib/src/CachedNetworkImageWidget.dart

+ 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;