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