💄 Better dashboard
This commit is contained in:
		@@ -46,7 +46,8 @@ class _DashboardScreenState extends State<DashboardScreen> {
 | 
			
		||||
                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<DashboardScreen> {
 | 
			
		||||
                  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']),
 | 
			
		||||
                        ),
 | 
			
		||||
                      ],
 | 
			
		||||
                    ),
 | 
			
		||||
                  ),
 | 
			
		||||
                ),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user