💄 Better dashboard
This commit is contained in:
parent
8f7d50c31f
commit
80a850a7a8
@ -46,7 +46,8 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
var link = element["link"];
|
var link = element["link"];
|
||||||
Navigator.of(context, rootNavigator: true).push(MaterialPageRoute(
|
Navigator.of(context, rootNavigator: true)
|
||||||
|
.push(MaterialPageRoute(
|
||||||
builder: (context) => ApplicationScreen(
|
builder: (context) => ApplicationScreen(
|
||||||
link: Uri.parse(link),
|
link: Uri.parse(link),
|
||||||
title: element["name"],
|
title: element["name"],
|
||||||
@ -56,9 +57,26 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
splashColor: Colors.indigo.withAlpha(30),
|
splashColor: Colors.indigo.withAlpha(30),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(10),
|
padding: const EdgeInsets.all(10),
|
||||||
child: ListTile(
|
child: Wrap(
|
||||||
title: Text(element['name']),
|
spacing: 8.0,
|
||||||
subtitle: Text(element['description']),
|
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']),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user