未验证 提交 89594008 编写于 作者: J Jonah Williams 提交者: GitHub

[null-safety] fix types of layer code (#21959)

上级 a6857802
......@@ -538,7 +538,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 {
return layer;
}
EngineLayer _pushShaderMask(
void _pushShaderMask(
EngineLayer engineLayer,
Shader shader,
double maskRectLeft,
......@@ -587,7 +587,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 {
return layer;
}
EngineLayer _pushPhysicalShape(EngineLayer outEngineLayer, Path path, double elevation, int color, int shadowColor,
void _pushPhysicalShape(EngineLayer outEngineLayer, Path path, double elevation, int color, int shadowColor,
int clipBehavior) native 'SceneBuilder_pushPhysicalShape';
/// Ends the effect of the most recently pushed operation.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册