1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Ensure the ink is clipped on the settings button (#209)

This commit is contained in:
rami-a
2020-01-07 15:33:23 -05:00
committed by GitHub
parent 300fa89670
commit 8b2688452a

View File

@@ -242,6 +242,7 @@ class _BackdropState extends State<Backdrop>
color: _isSettingsOpen & !_controller.isAnimating
? Colors.transparent
: Theme.of(context).colorScheme.secondaryVariant,
clipBehavior: Clip.antiAlias,
child: InkWell(
onTap: toggleSettings,
child: Padding(