Commit 6cae09ef authored by GayaniPKarunaratne's avatar GayaniPKarunaratne

Change some UI codes

parent ac8772a4
...@@ -71,7 +71,14 @@ class _ListPageState extends State<ListPage> { ...@@ -71,7 +71,14 @@ class _ListPageState extends State<ListPage> {
itemCount: snapshot.data.length, itemCount: snapshot.data.length,
itemBuilder: (_, index){ itemBuilder: (_, index){
return Card( return Card(
elevation: 8,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(15.0),
),
color: Colors.lightGreen[100],
child: ListTile( child: ListTile(
leading: Icon(Icons.location_city, size: 40),
title: Text(snapshot.data[index].data()["hotelName"]), title: Text(snapshot.data[index].data()["hotelName"]),
subtitle: Text(snapshot.data[index].data()["riskLocation"]), subtitle: Text(snapshot.data[index].data()["riskLocation"]),
onTap: () => navigateToDetail(snapshot.data[index]), onTap: () => navigateToDetail(snapshot.data[index]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment