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,8 +7,20 @@ class DrawerMeddApp extends StatelessWidget { ...@@ -7,8 +7,20 @@ 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: Container(
decoration: BoxDecoration(
color: Colors.blue,
gradient: LinearGradient(
colors: [
Colors.blue,
Colors.blue.withOpacity(0.0),
],
stops: [0.0, 1.0],
),
),
child: Column( child: Column(
children: [ children: [
SizedBox(height: 50,), SizedBox(height: 50,),
...@@ -40,6 +52,7 @@ class DrawerMeddApp extends StatelessWidget { ...@@ -40,6 +52,7 @@ class DrawerMeddApp extends StatelessWidget {
), ),
], ],
), ),
),
); );
} }
} }
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