fixed popup and map scale issues

This commit is contained in:
Mohamed Nouffer
2023-09-11 18:04:29 +05:30
parent c2d9e366d1
commit d67d17e971
3 changed files with 22 additions and 24 deletions

View File

@ -42,20 +42,18 @@ class _HistoryPageState extends State<HistoryPage> {
return Container(
width: MediaQuery.of(context).size.width,
height: 150,
child: Expanded(
child: ListView.builder(
itemCount: dests.length,
itemBuilder: (ctx, index) {
return ListTile(
title: Text(dests[index].name ?? ""),
subtitle:
Text(dests[index].address ?? ""),
leading: dests[0].photos != null
? Container(width: 100, height: 100, child: Image.file(File(dests[0].photos!)))
: Container(),
);
}),
));
child: ListView.builder(
itemCount: dests.length,
itemBuilder: (ctx, index) {
return ListTile(
title: Text(dests[index].name ?? ""),
subtitle:
Text(dests[index].address ?? ""),
leading: dests[0].photos != null
? Container(width: 100, height: 100, child: Image.file(File(dests[0].photos!)))
: Container(),
);
}));
} else {
return Center(child: Text("No checkin yet"));
}