Commit 17566d6d authored by Budi Prasetyo's avatar Budi Prasetyo

drawer + home 3

parent e3726a5e
...@@ -21,7 +21,7 @@ class _Home3State extends State<Home3> { ...@@ -21,7 +21,7 @@ class _Home3State extends State<Home3> {
child: Column( child: Column(
children: [ children: [
const SizedBox( const SizedBox(
height: 30, height: 40,
), ),
Text("Why MedApps ?", Text("Why MedApps ?",
style: GoogleFonts.poppins( style: GoogleFonts.poppins(
...@@ -216,7 +216,7 @@ class _Home3State extends State<Home3> { ...@@ -216,7 +216,7 @@ class _Home3State extends State<Home3> {
Container( Container(
padding: const EdgeInsets.only(top: 10), padding: const EdgeInsets.only(top: 10),
width: 220, width: 220,
height: screenSize.height * 0.55, height: screenSize.height * 0.45,
child: ShowUpAnimation( child: ShowUpAnimation(
delayStart: const Duration(seconds: 1), delayStart: const Duration(seconds: 1),
curve: Curves.decelerate, curve: Curves.decelerate,
...@@ -275,7 +275,7 @@ class _Home3State extends State<Home3> { ...@@ -275,7 +275,7 @@ class _Home3State extends State<Home3> {
Container( Container(
padding: const EdgeInsets.only(top: 10), padding: const EdgeInsets.only(top: 10),
width: 220, width: 220,
height: screenSize.height * 0.55, height: screenSize.height * 0.45,
child: ShowUpAnimation( child: ShowUpAnimation(
delayStart: const Duration(seconds: 1), delayStart: const Duration(seconds: 1),
curve: Curves.decelerate, curve: Curves.decelerate,
...@@ -334,7 +334,7 @@ class _Home3State extends State<Home3> { ...@@ -334,7 +334,7 @@ class _Home3State extends State<Home3> {
Container( Container(
padding: const EdgeInsets.only(top: 10), padding: const EdgeInsets.only(top: 10),
width: 220, width: 220,
height: screenSize.height * 0.55, height: screenSize.height * 0.45,
child: ShowUpAnimation( child: ShowUpAnimation(
delayStart: const Duration(seconds: 1), delayStart: const Duration(seconds: 1),
curve: Curves.decelerate, curve: Curves.decelerate,
......
...@@ -7,38 +7,51 @@ class DrawerMeddApp extends StatelessWidget { ...@@ -7,38 +7,51 @@ class DrawerMeddApp extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Drawer( return Drawer(
backgroundColor: Color.fromARGB(255, 76, 154, 231), // backgroundColor: Color.fromARGB(255, 76, 154, 231),
width: 200, width: 200,
child: Column( child: Container(
children: [ decoration: BoxDecoration(
SizedBox(height: 50,), color: Colors.blue,
gradient: LinearGradient(
colors: [
Colors.blue,
Colors.blue.withOpacity(0.0),
ListTile( ],
leading: Icon(Icons.home), stops: [0.0, 1.0],
title: Text('Home',style: TextStyle(fontWeight: FontWeight.w500),),
onTap: () => Navigator.pushNamed(context, '/') ,
), ),
ListTile( ),
leading: Icon(Icons.people), child: Column(
title: Text('About Us',style: TextStyle(fontWeight: FontWeight.w500),), children: [
onTap: () =>Navigator.pushNamed(context, '/about') , SizedBox(height: 50,),
),
ListTile( ListTile(
leading: Icon(Icons.settings_applications), leading: Icon(Icons.home),
title: Text('Our Solution',style: TextStyle(fontWeight: FontWeight.w500),), title: Text('Home',style: TextStyle(fontWeight: FontWeight.w500),),
onTap: () =>Navigator.pushNamed(context, '/solutions') , onTap: () => Navigator.pushNamed(context, '/') ,
), ),
// ListTile( ListTile(
// leading: Icon(Icons.event_note), leading: Icon(Icons.people),
// title: Text('Career'), title: Text('About Us',style: TextStyle(fontWeight: FontWeight.w500),),
// onTap: () => Navigator.pushNamed(context, '/career') , onTap: () =>Navigator.pushNamed(context, '/about') ,
// ), ),
ListTile( ListTile(
leading: Icon(Icons.contact_phone), leading: Icon(Icons.settings_applications),
title: Text('Contact Us',style: TextStyle(fontWeight: FontWeight.w500),), title: Text('Our Solution',style: TextStyle(fontWeight: FontWeight.w500),),
onTap: () => Navigator.pushNamed(context, '/contact') , onTap: () =>Navigator.pushNamed(context, '/solutions') ,
), ),
], // ListTile(
// leading: Icon(Icons.event_note),
// title: Text('Career'),
// onTap: () => Navigator.pushNamed(context, '/career') ,
// ),
ListTile(
leading: Icon(Icons.contact_phone),
title: Text('Contact Us',style: TextStyle(fontWeight: FontWeight.w500),),
onTap: () => Navigator.pushNamed(context, '/contact') ,
),
],
),
), ),
); );
} }
......
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