updated history images
This commit is contained in:
@ -47,14 +47,20 @@ class _HistoryPageState extends State<HistoryPage> {
|
|||||||
itemBuilder: (ctx, index) {
|
itemBuilder: (ctx, index) {
|
||||||
print("--- photo ${dests[index].checkin_image!} ----");
|
print("--- photo ${dests[index].checkin_image!} ----");
|
||||||
return ListTile(
|
return ListTile(
|
||||||
|
dense: true,
|
||||||
title: Text(dests[index].name ?? ""),
|
title: Text(dests[index].name ?? ""),
|
||||||
subtitle:
|
subtitle:
|
||||||
Text("${dests[index].sub_loc_id} : ${dests[index].name}"),
|
Text("${dests[index].sub_loc_id} : ${dests[index].name}"),
|
||||||
leading: dests[index].checkin_image != null
|
leading: dests[index].checkin_image != null
|
||||||
? Row(
|
? Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Container(width: 100, height: 100, child: Image.file(File(dests[index].checkin_image!))),
|
Container(width: 100, height: 100, child: Image.file(File(dests[index].checkin_image!))),
|
||||||
|
dests[index].buypoint_image != null ?
|
||||||
Container(width: 100, height: 100, child: Image.file(File(dests[index].buypoint_image!)))
|
Container(width: 100, height: 100, child: Image.file(File(dests[index].buypoint_image!)))
|
||||||
|
:
|
||||||
|
Container(),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
: Container(),
|
: Container(),
|
||||||
|
|||||||
Reference in New Issue
Block a user