Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
17566d6d
Commit
17566d6d
authored
Aug 31, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drawer + home 3
parent
e3726a5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
33 deletions
+46
-33
home3.dart
lib/screen/home/home3.dart
+4
-4
drawer.dart
lib/widget/drawer.dart
+42
-29
No files found.
lib/screen/home/home3.dart
View file @
17566d6d
...
@@ -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:
3
0
,
height:
4
0
,
),
),
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.
5
5
,
height:
screenSize
.
height
*
0.
4
5
,
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.
5
5
,
height:
screenSize
.
height
*
0.
4
5
,
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.
5
5
,
height:
screenSize
.
height
*
0.
4
5
,
child:
ShowUpAnimation
(
child:
ShowUpAnimation
(
delayStart:
const
Duration
(
seconds:
1
),
delayStart:
const
Duration
(
seconds:
1
),
curve:
Curves
.
decelerate
,
curve:
Curves
.
decelerate
,
...
...
lib/widget/drawer.dart
View file @
17566d6d
...
@@ -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'
)
,
),
],
),
),
),
);
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment