Skip to content

Commit 8959400

Browse files
author
Jonah Williams
authored
[null-safety] fix types of layer code (flutter#21959)
1 parent a685780 commit 8959400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ui/compositing.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 {
538538
return layer;
539539
}
540540

541-
EngineLayer _pushShaderMask(
541+
void _pushShaderMask(
542542
EngineLayer engineLayer,
543543
Shader shader,
544544
double maskRectLeft,
@@ -587,7 +587,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 {
587587
return layer;
588588
}
589589

590-
EngineLayer _pushPhysicalShape(EngineLayer outEngineLayer, Path path, double elevation, int color, int shadowColor,
590+
void _pushPhysicalShape(EngineLayer outEngineLayer, Path path, double elevation, int color, int shadowColor,
591591
int clipBehavior) native 'SceneBuilder_pushPhysicalShape';
592592

593593
/// Ends the effect of the most recently pushed operation.

0 commit comments

Comments
 (0)