chore: fix deprecated APIs and unused imports
This commit is contained in:
parent
6cbb7a2070
commit
93d5534755
5 changed files with 23 additions and 22 deletions
|
|
@ -188,7 +188,7 @@ class _MainScreenState extends State<MainScreen> with TickerProviderStateMixin {
|
|||
boxShadow: _isTracking
|
||||
? [
|
||||
BoxShadow(
|
||||
color: const Color(0xFF00e676).withOpacity(0.6),
|
||||
color: const Color(0xFF00e676).withValues(alpha: 0.6),
|
||||
blurRadius: 8,
|
||||
spreadRadius: 2,
|
||||
),
|
||||
|
|
@ -248,7 +248,7 @@ class _MainScreenState extends State<MainScreen> with TickerProviderStateMixin {
|
|||
fontSize: 11,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: 2,
|
||||
color: const Color(0xFF00bcd4).withOpacity(0.8),
|
||||
color: const Color(0xFF00bcd4).withValues(alpha: 0.8),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
@ -330,7 +330,7 @@ class _MainScreenState extends State<MainScreen> with TickerProviderStateMixin {
|
|||
BoxShadow(
|
||||
color: const Color(
|
||||
0xFF00e676,
|
||||
).withOpacity(0.15 * _pulseAnimation.value),
|
||||
).withValues(alpha: 0.15 * _pulseAnimation.value),
|
||||
blurRadius: 12,
|
||||
spreadRadius: 0,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue