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
767f729c
Commit
767f729c
authored
Aug 31, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
homepage , 1 , 3
parent
17566d6d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
20 deletions
+34
-20
homepage.dart
lib/homepage.dart
+27
-17
home1.dart
lib/screen/home/home1.dart
+3
-3
home3.dart
lib/screen/home/home3.dart
+4
-0
No files found.
lib/homepage.dart
View file @
767f729c
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
import
'package:medapp_eksad/appbar/appbar_home.dart'
;
import
'package:medapp_eksad/appbar/appbar_home.dart'
;
import
'package:medapp_eksad/screen/contact_us/contact_us2.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/screen/home/home1.dart'
;
import
'package:medapp_eksad/screen/home/home1.dart'
;
import
'package:medapp_eksad/screen/home/home2.dart'
;
import
'package:medapp_eksad/screen/home/home2.dart'
;
import
'package:medapp_eksad/screen/home/home3.dart'
;
import
'package:medapp_eksad/screen/home/home3.dart'
;
import
'package:medapp_eksad/screen_small/small_footer.dart'
;
import
'package:medapp_eksad/widget/drawer.dart'
;
import
'package:medapp_eksad/widget/drawer.dart'
;
import
'package:medapp_eksad/widget/responsive.dart'
;
import
'package:medapp_eksad/widget/responsive.dart'
;
import
'package:medapp_eksad/widget/whatsapp.dart'
;
import
'package:medapp_eksad/widget/whatsapp.dart'
;
...
@@ -37,13 +38,24 @@ class _HomePageState extends State<HomePage> {
...
@@ -37,13 +38,24 @@ class _HomePageState extends State<HomePage> {
?
AppBarKecil
()
?
AppBarKecil
()
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
blue
,
Colors
.
blue
,
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
blue
,
Colors
.
blue
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
drawer:
DrawerMeddApp
(),
drawer:
const
DrawerMeddApp
(),
body:
ListView
(
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
ListView
(
children:
[
children:
[
Home1
(),
const
Home1
(),
Home2
(),
const
Home2
(),
Home3
(),
const
Home3
(),
Footer
(),
ContactUs2
(),
const
FooterSmall
(),
],
)
:
ListView
(
children:
[
const
Home1
(),
const
Home2
(),
const
Home3
(),
ContactUs2
(),
const
Footer
(),
],
],
),
),
);
);
...
@@ -53,7 +65,7 @@ class _HomePageState extends State<HomePage> {
...
@@ -53,7 +65,7 @@ class _HomePageState extends State<HomePage> {
return
AppBar
(
return
AppBar
(
leading:
IconButton
(
leading:
IconButton
(
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
icon:
Icon
(
icon:
const
Icon
(
Icons
.
list_outlined
,
Icons
.
list_outlined
,
size:
30
,
size:
30
,
color:
Colors
.
black
,
color:
Colors
.
black
,
...
@@ -61,13 +73,11 @@ class _HomePageState extends State<HomePage> {
...
@@ -61,13 +73,11 @@ class _HomePageState extends State<HomePage> {
),
),
backgroundColor:
Colors
.
white
,
backgroundColor:
Colors
.
white
,
centerTitle:
true
,
centerTitle:
true
,
title:
Container
(
title:
SizedBox
(
child:
SizedBox
(
height:
50
,
height:
50
,
width:
150
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
),
),
// ),
// ),
);
);
...
...
lib/screen/home/home1.dart
View file @
767f729c
...
@@ -16,7 +16,7 @@ class Home1 extends StatelessWidget {
...
@@ -16,7 +16,7 @@ class Home1 extends StatelessWidget {
Container
(
Container
(
width:
screenSize
.
width
,
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.7
,
height:
screenSize
.
height
*
0.7
,
decoration:
BoxDecoration
(
decoration:
const
BoxDecoration
(
color:
Colors
.
transparent
,
color:
Colors
.
transparent
,
image:
DecorationImage
(
image:
DecorationImage
(
image:
AssetImage
(
image:
AssetImage
(
...
@@ -35,7 +35,7 @@ class Home1 extends StatelessWidget {
...
@@ -35,7 +35,7 @@ class Home1 extends StatelessWidget {
Colors
.
blue
.
withOpacity
(
0.0
),
Colors
.
blue
.
withOpacity
(
0.0
),
Colors
.
blue
,
Colors
.
blue
,
],
],
stops:
[
0.0
,
1.0
],
stops:
const
[
0.0
,
1.0
],
),
),
),
),
),
),
...
@@ -44,7 +44,7 @@ class Home1 extends StatelessWidget {
...
@@ -44,7 +44,7 @@ class Home1 extends StatelessWidget {
width:
screenSize
.
width
,
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.6
,
height:
screenSize
.
height
*
0.6
,
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
left:
screenSize
.
width
*
0.4
,
top:
screenSize
.
height
*
0.2
),
left:
screenSize
.
width
*
0.4
,
top:
screenSize
.
height
*
0.
1
2
),
child:
Column
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
...
...
lib/screen/home/home3.dart
View file @
767f729c
...
@@ -81,6 +81,7 @@ class _Home3State extends State<Home3> {
...
@@ -81,6 +81,7 @@ class _Home3State extends State<Home3> {
],
],
),
),
),
),
SizedBox
(
width:
50
,),
SizedBox
(
SizedBox
(
width:
screenSize
.
width
*
0.2
,
width:
screenSize
.
width
*
0.2
,
child:
Column
(
child:
Column
(
...
@@ -128,6 +129,7 @@ class _Home3State extends State<Home3> {
...
@@ -128,6 +129,7 @@ class _Home3State extends State<Home3> {
],
],
),
),
),
),
SizedBox
(
width:
50
,),
SizedBox
(
SizedBox
(
width:
screenSize
.
width
*
0.2
,
width:
screenSize
.
width
*
0.2
,
child:
Column
(
child:
Column
(
...
@@ -238,6 +240,7 @@ class _Home3State extends State<Home3> {
...
@@ -238,6 +240,7 @@ class _Home3State extends State<Home3> {
],
],
),
),
),
),
SizedBox
(
width:
50
,),
SizedBox
(
SizedBox
(
width:
screenSize
.
width
*
0.2
,
width:
screenSize
.
width
*
0.2
,
child:
Column
(
child:
Column
(
...
@@ -297,6 +300,7 @@ class _Home3State extends State<Home3> {
...
@@ -297,6 +300,7 @@ class _Home3State extends State<Home3> {
],
],
),
),
),
),
SizedBox
(
width:
50
,),
SizedBox
(
SizedBox
(
width:
screenSize
.
width
*
0.2
,
width:
screenSize
.
width
*
0.2
,
child:
Column
(
child:
Column
(
...
...
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