fix: Material theme deprecations

This commit is contained in:
DenserMeerkat
2024-06-28 11:56:52 +05:30
parent 806a72de4b
commit 21ab2b449e
30 changed files with 88 additions and 95 deletions

View File

@ -246,9 +246,11 @@ class _JsonPreviewerState extends State<JsonPreviewer> {
),
Container(
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.background,
color: Theme.of(context).colorScheme.surface,
border: Border.all(
color: Theme.of(context).colorScheme.surfaceVariant),
color: Theme.of(context)
.colorScheme
.surfaceContainerHighest),
borderRadius: kBorderRadius8,
),
child: Row(