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>
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: [