diff --git a/lib/screens/dashboard.dart b/lib/screens/dashboard.dart index ff71253..9ff5d87 100644 --- a/lib/screens/dashboard.dart +++ b/lib/screens/dashboard.dart @@ -46,7 +46,8 @@ class _DashboardScreenState extends State { child: InkWell( onTap: () async { var link = element["link"]; - Navigator.of(context, rootNavigator: true).push(MaterialPageRoute( + Navigator.of(context, rootNavigator: true) + .push(MaterialPageRoute( builder: (context) => ApplicationScreen( link: Uri.parse(link), title: element["name"], @@ -56,9 +57,26 @@ class _DashboardScreenState extends State { splashColor: Colors.indigo.withAlpha(30), child: Padding( padding: const EdgeInsets.all(10), - child: ListTile( - title: Text(element['name']), - subtitle: Text(element['description']), + child: Wrap( + spacing: 8.0, + children: [ + Padding( + padding: const EdgeInsets.only(left: 6, top: 2), + child: Card( + shape: const CircleBorder(), + elevation: 0, + color: Colors.indigo.withAlpha(70), + child: const Padding( + padding: EdgeInsets.all(16), + child: Icon(Icons.apps), + ), + ), + ), + ListTile( + title: Text(element['name']), + subtitle: Text(element['description']), + ), + ], ), ), ),