diff --git a/lib/src/widgets/cake_image_widget.dart b/lib/src/widgets/cake_image_widget.dart index 206e7613e..bec2e1597 100644 --- a/lib/src/widgets/cake_image_widget.dart +++ b/lib/src/widgets/cake_image_widget.dart @@ -131,7 +131,7 @@ class CakeImageWidget extends StatelessWidget { /// A caller-supplied [loadingWidget] owns its own semantics; the built-in /// spinner is purely visual and must not become an unnamed focus stop. Widget _buildLoadingWidget() => - loadingWidget ?? const ExcludeSemantics(child:SizedBox( + loadingWidget ?? ExcludeSemantics(child:SizedBox( height: height, width: width, child: Center(child: CupertinoActivityIndicator())));