|
|
|
|
@ -138,9 +138,9 @@ class _TangheemScreenState extends State<TangheemScreen> {
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Widget _dataListView = _dataList?.isEmpty ?? true
|
|
|
|
|
? NoDataUI().paddingOnly(top: 215)
|
|
|
|
|
? NoDataUI().paddingOnly(top: isPortrait ? 215 : 50)
|
|
|
|
|
: ListView.separated(
|
|
|
|
|
// controller: _controller,
|
|
|
|
|
controller: isPortrait ? null : _controller,
|
|
|
|
|
// physics: BouncingScrollPhysics(),
|
|
|
|
|
physics: isPortrait ? NeverScrollableScrollPhysics() : null,
|
|
|
|
|
shrinkWrap: isPortrait,
|
|
|
|
|
@ -193,14 +193,30 @@ class _TangheemScreenState extends State<TangheemScreen> {
|
|
|
|
|
children: [
|
|
|
|
|
SvgPicture.asset("assets/icons/new/surah_right.svg", height: 13, width: 11, color: ColorConsts.brownB7Color),
|
|
|
|
|
6.width,
|
|
|
|
|
(_dataList[index].surahNameAr + ":").toText(12, color: ColorConsts.brownB7Color),
|
|
|
|
|
(_dataList[index].surahNameAr).toText(12, color: ColorConsts.brownB7Color),
|
|
|
|
|
6.width,
|
|
|
|
|
SvgPicture.asset("assets/icons/new/surah_left.svg", height: 13, width: 11, color: ColorConsts.brownB7Color),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
"الآية ${_dataList[index].ayatNumberInSurahs}",
|
|
|
|
|
style: TextStyle(fontSize: 12, color: ColorConsts.brownB7Color),
|
|
|
|
|
Row( mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 0, horizontal: 8),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.circular(15),
|
|
|
|
|
border: Border.all(color: ColorConsts.greyB5Color, width: .5),
|
|
|
|
|
),
|
|
|
|
|
child: Text(
|
|
|
|
|
_dataList[index].tangheemTypeName ?? "",
|
|
|
|
|
style: TextStyle(fontSize: 10, color: ColorConsts.brownB7Color),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
8.width,
|
|
|
|
|
Text(
|
|
|
|
|
"الآية ${_dataList[index].ayatNumberInSurahs}",
|
|
|
|
|
style: TextStyle(fontSize: 12, color: ColorConsts.brownB7Color),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|