Add background to activity card X buttons for visibility (#2906)
This commit is contained in:
parent
9507a2f3fe
commit
9ec302bbd7
1 changed files with 8 additions and 2 deletions
|
|
@ -540,8 +540,14 @@ class ActivitySuggestionDialogState extends State<ActivitySuggestionDialog> {
|
|||
Positioned(
|
||||
top: 4.0,
|
||||
left: 4.0,
|
||||
child: IconButton(
|
||||
icon: const Icon(Icons.close_outlined),
|
||||
child: IconButton.filled(
|
||||
style: IconButton.styleFrom(
|
||||
backgroundColor: theme.colorScheme.surface.withAlpha(170),
|
||||
),
|
||||
icon: Icon(
|
||||
Icons.close_outlined,
|
||||
color: theme.colorScheme.onSurface,
|
||||
),
|
||||
onPressed: Navigator.of(context).pop,
|
||||
tooltip: L10n.of(context).close,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue