Commit 188ea743 authored by rizky ramadhan's avatar rizky ramadhan
parents b3949d0b 0be9d19e
......@@ -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(),
),
),
],
),
......@@ -41,14 +63,16 @@ class _DashboardState extends State<Dashboard> {
style: SideMenuStyle(
openSideMenuWidth: 220,
displayMode: SideMenuDisplayMode.auto,
hoverColor: Colors.blue[100],
selectedColor: Colors.white,
selectedTitleTextStyle: const TextStyle(color: Colors.blueAccent),
selectedIconColor: Colors.blueAccent[700],
hoverColor: Colors.blue[50],
selectedColor: Colors.blue[100],
selectedTitleTextStyle: const TextStyle(color: Colors.black),
selectedIconColor: Colors.black,
unselectedIconColor: Colors.black87,
unselectedTitleTextStyle: TextStyle(color: Colors.black87),
// decoration: BoxDecoration(
// borderRadius: BorderRadius.all(Radius.circular(10)),
// ),
backgroundColor: Colors.blue,
backgroundColor: Colors.blueAccent[200],
),
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