Skip to content

Commit 326157e

Browse files
author
Jonah Williams
authored
[null-safety] fix Scene.toImage declaration (flutter#21983)
1 parent 727a928 commit 326157e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/compositing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Scene extends NativeFieldWrapperClass2 {
3737
);
3838
}
3939

40-
String _toImage(int width, int height, _Callback<_Image> callback) native 'Scene_toImage';
40+
String? _toImage(int width, int height, _Callback<_Image> callback) native 'Scene_toImage';
4141

4242
/// Releases the resources used by this scene.
4343
///

0 commit comments

Comments
 (0)