Error: Not a constant expression.

This commit is contained in:
Robert Malikowski
2026-08-20 19:49:38 +02:00
parent b6c6f75a51
commit 5a15d5644c
+1 -1
View File
@@ -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())));