Clip the flutter_gallery front layer (#20836)

This will be needed once PhysicalShape sets the default clipBehavior
to Clip.none.
This commit is contained in:
liyuqian
2018-08-21 12:56:01 -07:00
committed by GitHub
parent e870b1a20f
commit bab0ce97bd

View File

@@ -304,6 +304,7 @@ class _BackdropState extends State<Backdrop> with SingleTickerProviderStateMixin
borderRadius: _kFrontHeadingBevelRadius.lerp(_controller.value),
),
),
clipBehavior: Clip.antiAlias,
child: child,
);
},