chore: wrap autocorrect popup in material widget (#2558)

pull/1817/head
ggurdin 6 months ago committed by GitHub
parent 7f11a5dba9
commit 63ade4c995
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -13,7 +13,9 @@ class AutocorrectPopup extends StatelessWidget {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Container(
return Material(
type: MaterialType.transparency,
child: Container(
padding: const EdgeInsets.all(8.0),
decoration: BoxDecoration(
color: theme.colorScheme.surface.withAlpha(200),
@ -30,6 +32,7 @@ class AutocorrectPopup extends StatelessWidget {
),
],
),
),
);
}
}

Loading…
Cancel
Save