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