mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Ensure the ink is clipped on the settings button (#209)
This commit is contained in:
@@ -242,6 +242,7 @@ class _BackdropState extends State<Backdrop>
|
|||||||
color: _isSettingsOpen & !_controller.isAnimating
|
color: _isSettingsOpen & !_controller.isAnimating
|
||||||
? Colors.transparent
|
? Colors.transparent
|
||||||
: Theme.of(context).colorScheme.secondaryVariant,
|
: Theme.of(context).colorScheme.secondaryVariant,
|
||||||
|
clipBehavior: Clip.antiAlias,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: toggleSettings,
|
onTap: toggleSettings,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user