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

@@ -84,16 +84,16 @@ class _PayCoinsPageState extends State<PayCoinsPage>
Color _getColorFilter(int index) {
if (index == 1 && widget.hasCoin) {
return Colors.black.withOpacity(0.4);
return Colors.black.withValues(alpha: 0.4);
}
if (_coins == null) {
return Colors.transparent;
}
if (index == 0 && _coins == 0) {
return Colors.black.withOpacity(0.4);
return Colors.black.withValues(alpha: 0.4);
}
if (index == 1 && _coins! < 2) {
return Colors.black.withOpacity(0.4);
return Colors.black.withValues(alpha: 0.4);
}
return Colors.transparent;
}