idle
This commit is contained in:
@@ -212,11 +212,14 @@ class _AudioPlayerBarState extends State<AudioPlayerBar>
|
|||||||
// Play/Pause button (AnimatedIcon)
|
// Play/Pause button (AnimatedIcon)
|
||||||
ModernGlassButton(
|
ModernGlassButton(
|
||||||
onPressed: _isLoading ? () {} : _handlePlayPause,
|
onPressed: _isLoading ? () {} : _handlePlayPause,
|
||||||
child: AnimatedIcon(
|
child: Transform.translate(
|
||||||
icon: AnimatedIcons.play_pause,
|
offset: const Offset(0, -4), // Move icon up by 4px
|
||||||
progress: _iconController,
|
child: AnimatedIcon(
|
||||||
color: AppTheme.primaryText,
|
icon: AnimatedIcons.play_pause,
|
||||||
size: 22,
|
progress: _iconController,
|
||||||
|
color: AppTheme.primaryText,
|
||||||
|
size: 22,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
|
|||||||
Reference in New Issue
Block a user