|
|
|
|
@ -267,13 +267,14 @@ class _TangheemDetailScreenState extends State<TangheemDetailScreen> {
|
|
|
|
|
itemCount: ayatTangheemTypeMappedDataList.length > 5 ? 5 : ayatTangheemTypeMappedDataList.length,
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
final _ayatTangheemTypeMappedData = ayatTangheemTypeMappedDataList[index];
|
|
|
|
|
|
|
|
|
|
_ayatTangheemTypeMappedData.property?.sort((a, b) => a.orderNo.compareTo(b.orderNo));
|
|
|
|
|
List<TangheemProperty> _tangheemInsideTableList = [];
|
|
|
|
|
List<TangheemProperty> _tangheemAboveTableList = [];
|
|
|
|
|
List<TangheemProperty> _tangheemBelowTableList = [];
|
|
|
|
|
List<String> _tangheemWords = [];
|
|
|
|
|
List<TangheemProperty> _tempPropertyList = <TangheemProperty>[] + _ayatTangheemTypeMappedData?.property ?? <TangheemProperty>[];
|
|
|
|
|
|
|
|
|
|
List<TangheemProperty> _tempPropertyList = [];
|
|
|
|
|
_tempPropertyList.addAll(_ayatTangheemTypeMappedData?.property ?? <TangheemProperty>[]);
|
|
|
|
|
int firstIndex = _tempPropertyList.indexWhere((element) => element.isInsideTable);
|
|
|
|
|
|
|
|
|
|
if (firstIndex >= 0) {
|
|
|
|
|
|