aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDominik Wawrzonek <dwawrzonek@ics.com>2024-08-02 15:15:05 +0200
committerScott Murray <scott.murray@konsulko.com>2024-08-19 15:08:58 +0000
commit32d6271fc2430bedd7342475f0fe6e9eb21a9efe (patch)
tree93a6cff743a733838cf5cb940d92a1a002f92d56 /lib
parent3ef28eeae6e3336232ab13d0d934aa82892dfe74 (diff)
Fixed issue with shuffle and loop icons in music player screen
Added SingleChildScrollView wrapped by Expanded widget to prevent overflow long songDetial text. Hidden text can be seen after horizontal gesture scroll. Bug-AGL: SPEC-5206 Change-Id: I439517bfdf151cd66b75a4f3eb7f1d14978d6010 Signed-off-by: Dominik Wawrzonek<dwawrzonek@ics.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/presentation/screens/media/media_player_controls.dart19
1 files changed, 12 insertions, 7 deletions
diff --git a/lib/presentation/screens/media/media_player_controls.dart b/lib/presentation/screens/media/media_player_controls.dart
index 26cdfce..f23bcc9 100644
--- a/lib/presentation/screens/media/media_player_controls.dart
+++ b/lib/presentation/screens/media/media_player_controls.dart
@@ -107,13 +107,18 @@ class _MediaPlayerControlsDetailsState
return Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
- Text(
- widget.songDetail,
- style: TextStyle(
- color: Colors.white,
- fontWeight: FontWeight.w400,
- fontSize: 40,
- shadows: [Helpers.dropShadowRegular]),
+ Expanded(
+ child: SingleChildScrollView(
+ scrollDirection: Axis.horizontal,
+ child: Text(
+ widget.songDetail,
+ style: TextStyle(
+ color: Colors.white,
+ fontWeight: FontWeight.w400,
+ fontSize: 40,
+ shadows: [Helpers.dropShadowRegular]),
+ ),
+ ),
),
Row(
children: [