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
Hide 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:google_fonts/google_fonts.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/home/home1.dart'
;
import
'package:medapp_eksad/screen/home/home2.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/responsive.dart'
;
import
'package:medapp_eksad/widget/whatsapp.dart'
;
...
...
@@ -37,15 +38,26 @@ class _HomePageState extends State<HomePage> {
?
AppBarKecil
()
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
blue
,
Colors
.
blue
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
drawer:
DrawerMeddApp
(),
body:
ListView
(
children:
[
Home1
(),
Home2
(),
Home3
(),
Footer
(),
],
),
drawer:
const
DrawerMeddApp
(),
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
ListView
(
children:
[
const
Home1
(),
const
Home2
(),
const
Home3
(),
ContactUs2
(),
const
FooterSmall
(),
],
)
:
ListView
(
children:
[
const
Home1
(),
const
Home2
(),
const
Home3
(),
ContactUs2
(),
const
Footer
(),
],
),
);
}
...
...
@@ -53,7 +65,7 @@ class _HomePageState extends State<HomePage> {
return
AppBar
(
leading:
IconButton
(
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
icon:
Icon
(
icon:
const
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,
...
...
@@ -61,12 +73,10 @@ class _HomePageState extends State<HomePage> {
),
backgroundColor:
Colors
.
white
,
centerTitle:
true
,
title:
Container
(
child:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
title:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
// ),
...
...
lib/screen/home/home1.dart
View file @
767f729c
...
...
@@ -16,7 +16,7 @@ class Home1 extends StatelessWidget {
Container
(
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.7
,
decoration:
BoxDecoration
(
decoration:
const
BoxDecoration
(
color:
Colors
.
transparent
,
image:
DecorationImage
(
image:
AssetImage
(
...
...
@@ -35,7 +35,7 @@ class Home1 extends StatelessWidget {
Colors
.
blue
.
withOpacity
(
0.0
),
Colors
.
blue
,
],
stops:
[
0.0
,
1.0
],
stops:
const
[
0.0
,
1.0
],
),
),
),
...
...
@@ -44,7 +44,7 @@ class Home1 extends StatelessWidget {
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.6
,
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
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
...
...
lib/screen/home/home3.dart
View file @
767f729c
...
...
@@ -81,6 +81,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox
(
width:
50
,),
SizedBox
(
width:
screenSize
.
width
*
0.2
,
child:
Column
(
...
...
@@ -128,6 +129,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox
(
width:
50
,),
SizedBox
(
width:
screenSize
.
width
*
0.2
,
child:
Column
(
...
...
@@ -238,6 +240,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox
(
width:
50
,),
SizedBox
(
width:
screenSize
.
width
*
0.2
,
child:
Column
(
...
...
@@ -297,6 +300,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox
(
width:
50
,),
SizedBox
(
width:
screenSize
.
width
*
0.2
,
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