Debug
This commit is contained in:
@@ -57,7 +57,7 @@ class ItemWidgetState extends State<ItemWidget> {
|
||||
widgetsInstance.add(Container(height: 20, width: getWidth(context) / 2,));
|
||||
var count = 0;
|
||||
for (var info in instance.infos().keys) {
|
||||
if (instance.infos()[info] == null || instance.infos()[info] is List) { continue; }
|
||||
if (instance.infos()[info] == null || instance.infos()[info] is List || instance.infos()[info] is Map) { continue; }
|
||||
count++;
|
||||
widgetsInstance.add(Center(child: Padding( padding: EdgeInsets.symmetric(vertical: 5), child : Row(children: [
|
||||
Padding( padding: EdgeInsets.only(left: 50, right: 10), child : Text("${info.toUpperCase().replaceAll("_", " ")} :", style: TextStyle(fontSize: 15, color: Colors.grey))),
|
||||
@@ -82,7 +82,9 @@ class ItemWidgetState extends State<ItemWidget> {
|
||||
width: getMainWidth(context),
|
||||
alignment: Alignment.center,
|
||||
height: 100,
|
||||
decoration: BoxDecoration(border: Border(bottom: BorderSide(color: midColor))),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
border: Border(bottom: BorderSide(color: midColor))),
|
||||
padding: const EdgeInsets.symmetric(vertical: 30, horizontal: 50),
|
||||
child: Text(widget.item.description!.length > 350 ? "${widget.item.description!.substring(0, 347)}..." : widget.item.description!,
|
||||
style: TextStyle(fontSize: 15, color: Colors.grey, fontWeight: FontWeight.w500))),
|
||||
|
||||
Reference in New Issue
Block a user