diff --git a/covas_mobile/lib/ListItemMenu.dart b/covas_mobile/lib/ListItemMenu.dart index ee83305..7f371ac 100644 --- a/covas_mobile/lib/ListItemMenu.dart +++ b/covas_mobile/lib/ListItemMenu.dart @@ -87,25 +87,8 @@ class _MyHomePageState extends State { itemCount: posts.length, itemBuilder: (context, index) { final post = posts[index]; - return Container( - color: Colors.grey.shade300, - margin: EdgeInsets.symmetric(vertical: 5, horizontal: 5), - padding: EdgeInsets.symmetric(vertical: 5, horizontal: 5), - height: 100, - width: double.maxFinite, - child: Row( - children: [ - Text( - '${post.name!}\n\n', - style: Theme.of(context).textTheme.titleMedium, - ), - Text( - '${post.place!}', - style: Theme.of(context).textTheme.titleSmall, - ), - ], - ), - ); + return ListTile( + title: Text('${post.name!}'), subtitle: Text('${post.place!}')); }, ); }