From 441e1e6664479d473b16b111f9367cf0cbaddcde Mon Sep 17 00:00:00 2001 From: Alan Mantoux Date: Tue, 30 Apr 2024 18:17:43 +0200 Subject: [PATCH] Add hard edge clip behavior to Material link bottom sheet modal --- packages/fleather/lib/src/widgets/link.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/fleather/lib/src/widgets/link.dart b/packages/fleather/lib/src/widgets/link.dart index fe5c01a4..c089882f 100644 --- a/packages/fleather/lib/src/widgets/link.dart +++ b/packages/fleather/lib/src/widgets/link.dart @@ -72,6 +72,7 @@ class _CupertinoAction extends StatelessWidget { final String title; final IconData icon; final VoidCallback onPressed; + const _CupertinoAction({ required this.title, required this.icon, @@ -109,6 +110,7 @@ class _CupertinoAction extends StatelessWidget { Future _showMaterialMenu( BuildContext context, String link) async { final result = await showModalBottomSheet( + clipBehavior: Clip.hardEdge, context: context, builder: (ctx) { return Column(