We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273b31a commit bfd8974Copy full SHA for bfd8974
packages/flutter/lib/src/widgets/window.dart
@@ -117,7 +117,9 @@ class _RegularWindowState extends State<RegularWindow> {
117
super.initState();
118
final Future<WindowCreationResult> createRegularFuture =
119
createRegular(size: widget._preferredSize);
120
- setState(() => _future = createRegularFuture);
+ setState(() {
121
+ _future = createRegularFuture;
122
+ });
123
124
createRegularFuture.then((WindowCreationResult metadata) async {
125
_viewId = metadata.flView.viewId;
0 commit comments