Update flutter version

This commit is contained in:
2023-09-02 18:51:12 +08:00
parent 8f90d2243b
commit ade2bb2113
2 changed files with 26 additions and 13 deletions

View File

@@ -65,6 +65,11 @@ bool FlutterWindow::OnCreate() {
this->Show();
});
// Flutter can complete the first frame before the "show window" callback is
// registered. The following call ensures a frame is pending to ensure the
// window is shown. It is a no-op if the first frame hasn't completed yet.
flutter_controller_->ForceRedraw();
return true;
}