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