summaryrefslogtreecommitdiffstats
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:09:10 +0000
commitcbc46db4690b89d2d5e983821d269931a358e508 (patch)
treed1013c5b5815dfa842db3100c32b3fddd00a3874
parent1e99e3a52f3d4d81d7cc890630ac591d38f731df (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> (cherry picked from commit 52efc5aa4cc90562da2ad168665d1f1229ad6794)
-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: [