Commit 8845f113 authored by Budi Prasetyo's avatar Budi Prasetyo

dashboard

parent 7289d3c7
......@@ -25,7 +25,29 @@ class _DashboardState extends State<Dashboard> {
),
),
actions: [
TextButton.icon(onPressed: (){}, icon: Icon(Icons.remove_red_eye ), label: Text('Site Online'),)
TextButton.icon(
onPressed: () {
Navigator.pushNamed(context, '/');
},
icon: const Icon(
Icons.remove_red_eye,
),
label: const Text(
'Site Online',
),
),
TextButton.icon(
onPressed: () {
Navigator.pushNamed(context, '/');
},
icon: const Icon(
Icons.output,
),
label: const Text(
'Logout',
style: TextStyle(),
),
),
],
),
......@@ -42,13 +64,13 @@ class _DashboardState extends State<Dashboard> {
openSideMenuWidth: 220,
displayMode: SideMenuDisplayMode.auto,
hoverColor: Colors.blue[100],
selectedColor: Colors.white,
selectedTitleTextStyle: const TextStyle(color: Colors.blueAccent),
selectedIconColor: Colors.blueAccent[700],
selectedColor: Colors.blueAccent[200],
selectedTitleTextStyle: const TextStyle(color: Colors.white),
selectedIconColor: Colors.white,
// decoration: BoxDecoration(
// borderRadius: BorderRadius.all(Radius.circular(10)),
// ),
backgroundColor: Colors.blue,
backgroundColor: Colors.blue[100],
),
title: Column(
children: [
......
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