add close button to analytics requested popup (#3800)
* add close button to analytics requested popup * sort languages alphabetically in space analytics * Revert "sort languages alphabetically in space analytics" This reverts commit 4035ef8aae31e251f9e05e44306f8fa9eef04ab9.
This commit is contained in:
parent
8b17d9b4c1
commit
5c3d728b2a
1 changed files with 18 additions and 0 deletions
|
|
@ -98,6 +98,24 @@ class SpaceAnalyticsRequestedDialog extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
top: 4.0,
|
||||
left: 4.0,
|
||||
child: IconButton.filled(
|
||||
style: IconButton.styleFrom(
|
||||
backgroundColor: Theme.of(context)
|
||||
.colorScheme
|
||||
.surfaceContainerHigh
|
||||
.withAlpha(170),
|
||||
),
|
||||
icon: Icon(
|
||||
Icons.close_outlined,
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
),
|
||||
onPressed: Navigator.of(context).pop,
|
||||
tooltip: L10n.of(context).close,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue