updated messages

This commit is contained in:
Mohamed Nouffer
2023-09-15 01:06:21 +05:30
parent b54c29eb4b
commit 15c70acf7b
5 changed files with 27 additions and 30 deletions

View File

@ -49,16 +49,15 @@ class _HistoryPageState extends State<HistoryPage> {
return ListTile(
title: Text(dests[index].name ?? ""),
subtitle:
Text(dests[index].address ?? ""),
Text("${dests[index].sub_loc_id} : ${dests[index].name}"),
leading: dests[index].checkin_image != null
? Container(width: 100, height: 100, child: Image.file(File(dests[index].checkin_image!)))
? Row(
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].buypoint_image!)))
],
)
: Container(),
trailing: ElevatedButton(
child: Text(dests[index].cp.toString()),
style: ElevatedButton.styleFrom(shape: CircleBorder()),
onPressed: () {
},),
);
}));
} else {