From 5a15d5644ca5aa9ab455bf40209739f6107c504e Mon Sep 17 00:00:00 2001 From: Robert Malikowski Date: Thu, 20 Aug 2026 19:49:38 +0200 Subject: [PATCH] Error: Not a constant expression. --- lib/src/widgets/cake_image_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())));