mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
bump flutter (#859)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user