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