Skip to content

Commit

Permalink
Add hard edge clip behavior to Material link bottom sheet modal
Browse files Browse the repository at this point in the history
  • Loading branch information
amantoux committed Apr 30, 2024
1 parent 4f97476 commit 441e1e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fleather/lib/src/widgets/link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -109,6 +110,7 @@ class _CupertinoAction extends StatelessWidget {
Future<LinkMenuAction> _showMaterialMenu(
BuildContext context, String link) async {
final result = await showModalBottomSheet<LinkMenuAction>(
clipBehavior: Clip.hardEdge,
context: context,
builder: (ctx) {
return Column(
Expand Down

0 comments on commit 441e1e6

Please sign in to comment.