From 3800b018d9e915743fd4b5689e56c649341d6082 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Mon, 19 Oct 2020 22:52:19 -0700 Subject: [PATCH] [null-safety] fix Scene.toImage declaration (flutter/engine#21983) --- engine/src/flutter/lib/ui/compositing.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/lib/ui/compositing.dart b/engine/src/flutter/lib/ui/compositing.dart index d29e5f1a8e..1bf7b1fd60 100644 --- a/engine/src/flutter/lib/ui/compositing.dart +++ b/engine/src/flutter/lib/ui/compositing.dart @@ -37,7 +37,7 @@ class Scene extends NativeFieldWrapperClass2 { ); } - String _toImage(int width, int height, _Callback<_Image> callback) native 'Scene_toImage'; + String? _toImage(int width, int height, _Callback<_Image> callback) native 'Scene_toImage'; /// Releases the resources used by this scene. ///