[null-safety] fix types of layer code (flutter/engine#21959)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user