bump flutter (#859)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-05-16 23:05:02 +08:00
committed by GitHub
parent cf0bf1e587
commit 7ae92970ef
96 changed files with 604 additions and 521 deletions

View File

@@ -22,8 +22,10 @@ abstract class _StatItemBase extends StatelessWidget {
Color get color {
return textColor ??
switch (theme) {
'gray' => Theme.of(context).colorScheme.outline.withOpacity(0.8),
'black' => Theme.of(context).colorScheme.onSurface.withOpacity(0.7),
'gray' =>
Theme.of(context).colorScheme.outline.withValues(alpha: 0.8),
'black' =>
Theme.of(context).colorScheme.onSurface.withValues(alpha: 0.7),
_ => Colors.white,
};
}