Update widgets UI as per the latest Material 3 colors

This commit is contained in:
Ashita Prasad
2025-03-01 19:45:40 +05:30
parent b4827dc2c5
commit 32210e60cc
16 changed files with 30 additions and 76 deletions

View File

@ -118,12 +118,7 @@ class ViewCodePane extends StatelessWidget {
? kLightCodeTheme
: kDarkCodeTheme;
final textContainerdecoration = BoxDecoration(
color: Color.alphaBlend(
(Theme.of(context).brightness == Brightness.dark
? Theme.of(context).colorScheme.onPrimaryContainer
: Theme.of(context).colorScheme.primaryContainer)
.withOpacity(kForegroundOpacity),
Theme.of(context).colorScheme.surface),
color: Theme.of(context).colorScheme.surfaceContainerLow,
border: Border.all(
color: Theme.of(context).colorScheme.surfaceContainerHighest),
borderRadius: kBorderRadius8,