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
0b15aada
Commit
0b15aada
authored
Sep 01, 2022
by
Fikri
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/qorridi/medapp_eksad
parents
a8531451
1db39bb4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
188 additions
and
6 deletions
+188
-6
contact_api.dart
lib/api/contact_api.dart
+1
-1
homepage.dart
lib/homepage.dart
+2
-0
small_home4.dart
lib/screen_small/small_home/small_home4.dart
+151
-0
componen.dart
lib/widget/componen.dart
+29
-0
image_slide.dart
lib/widget/image_slide.dart
+5
-5
No files found.
lib/api/contact_api.dart
View file @
0b15aada
...
...
@@ -5,7 +5,7 @@ import 'package:medapp_eksad/model/contact_model.dart';
Future
<
bool
>
savecontact
(
nama
,
email
,
nohp
,
message
)
async
{
final
response
=
await
http
.
post
(
Uri
.
parse
(
'http://10.
3.4.231
:8081/medapp/v1/api/contact/save'
),
Uri
.
parse
(
'http://10.
107.121.210
:8081/medapp/v1/api/contact/save'
),
body:
jsonEncode
({
"nama"
:
nama
,
"email"
:
email
,
...
...
lib/homepage.dart
View file @
0b15aada
...
...
@@ -11,6 +11,7 @@ import 'package:medapp_eksad/screen_small/small_footer.dart';
import
'package:medapp_eksad/screen_small/small_home/small_home1.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home2.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home3.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home4.dart'
;
import
'package:medapp_eksad/widget/drawer.dart'
;
import
'package:medapp_eksad/widget/responsive.dart'
;
import
'package:medapp_eksad/widget/whatsapp.dart'
;
...
...
@@ -50,6 +51,7 @@ class _HomePageState extends State<HomePage> {
SmallHome1
(),
SmallHome2
(),
SmallHome3
(),
SmallHome4
(),
ContactUs2_small
(),
FooterSmall
(),
],
...
...
lib/screen_small/small_home/small_home4.dart
0 → 100644
View file @
0b15aada
import
'package:flutter/material.dart'
;
import
'package:medapp_eksad/widget/button_color.dart'
;
class
SmallHome4
extends
StatelessWidget
{
const
SmallHome4
({
Key
?
key
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
var
ScreenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Container
(
width:
ScreenSize
.
width
,
height:
ScreenSize
.
height
*
1.2
,
color:
Colors
.
white
,
child:
Container
(
padding:
EdgeInsets
.
all
(
20
),
margin:
EdgeInsets
.
fromLTRB
(
160
,
90
,
160
,
90
),
width:
ScreenSize
.
width
*
0.20
,
height:
ScreenSize
.
height
*
0.90
,
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
20
),
//color: Color.fromARGB(200, 9, 47, 171),
color:
Colors
.
blue
[
900
],
boxShadow:
[
BoxShadow
(
color:
const
Color
.
fromARGB
(
255
,
10
,
116
,
255
).
withAlpha
(
60
),
blurRadius:
15.0
,
spreadRadius:
10.0
,
offset:
const
Offset
(
0.0
,
3.0
,
),
),
],
),
child:
Container
(
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
Container
(
width:
ScreenSize
.
width
*
0.36
,
height:
ScreenSize
.
height
*
0.69
,
color:
Colors
.
blue
[
900
],
child:
Container
(
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
all
(
30
),
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
start
,
children:
<
Widget
>[
SizedBox
(
height:
40
,),
Row
(
children:
[
Text
(
"Mobile & Web Apps"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
34
),
textAlign:
TextAlign
.
left
,
),
],
),
SizedBox
(
height:
30
,),
Row
(
children:
[
Container
(
height:
100
,
width:
ScreenSize
.
width
*
0.30
,
child:
Text
(
"MedApps menyediakan Aplikasi Mobile dan juga website yang bisa anda kunjungi"
,
style:
TextStyle
(
fontSize:
18
,
color:
Colors
.
white
),
)
),
],
),
// SizedBox(height: 10,),
Row
(
children:
[
Container
(
height
:
50
,
width
:
200
,
child:
ElevatedButton
(
onPressed:
(){},
style:
ElevatedButton
.
styleFrom
(
primary:
Colors
.
blue
[
900
],
onSurface:
Colors
.
white
,
side:
BorderSide
(
color:
Colors
.
white
),
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
30
)
),
),
),
child:
Text
(
"LEARN MORE"
,
style:
TextStyle
(
fontSize:
18
,
letterSpacing:
2
),
),
),
// child: ElevatedButton(
// onPressed: (){},
// style: DefaultColors(),
// // ElevatedButton.styleFrom(
// // primary: Colors.blue,
// // fixedSize: Size(170, 85),
// // onPrimary: Colors.white,
// // shape: RoundedRectangleBorder(
// // borderRadius: BorderRadius.all(Radius.circular(30),
// // )
// // )
// // ),
// child: Text("LEARN MORE",
// style: TextStyle(
// fontSize: 18,
// letterSpacing: 2
// ),
// ),
// ),
),
],
),
],
),
),
),
SizedBox
(
width:
40
,),
Container
(
width:
ScreenSize
.
width
*
0.3
,
height:
ScreenSize
.
height
*
0.69
,
// color: Colors.white,
decoration:
BoxDecoration
(
color:
Colors
.
white
,
image:
DecorationImage
(
image:
AssetImage
(
'assets/images/medaps3.png'
)
),
borderRadius:
BorderRadius
.
circular
(
20
)
),
)
],
),
),
),
);
}
}
lib/widget/componen.dart
0 → 100644
View file @
0b15aada
export
'package:medapp_eksad/widget/button_appbar.dart'
;
export
'package:medapp_eksad/widget/button_color.dart'
;
export
'package:medapp_eksad/widget/drawer.dart'
;
export
'package:medapp_eksad/widget/image_slide.dart'
;
export
'package:medapp_eksad/widget/responsive.dart'
;
export
'package:medapp_eksad/widget/whatsapp.dart'
;
export
'package:medapp_eksad/appbar/appbar_home.dart'
;
export
'package:medapp_eksad/screen/footer.dart'
;
export
'package:medapp_eksad/screen/solution.dart'
;
export
'package:medapp_eksad/screen/solution/our_solution.dart'
;
export
'package:medapp_eksad/screen/solution/our_solution2.dart'
;
export
'package:medapp_eksad/screen/contact_us/contact_us1.dart'
;
export
'package:medapp_eksad/screen/contact_us/contact_us2.dart'
;
export
'package:medapp_eksad/screen_small/small_footer.dart'
;
export
'package:medapp_eksad/screen_small/small_contact/small_contact_us1.dart'
;
export
'package:medapp_eksad/screen_small/small_contact/small_contact_us2.dart'
;
export
'package:medapp_eksad/screen_small/small_home/small_home1.dart'
;
export
'package:medapp_eksad/screen_small/small_home/small_home2.dart'
;
export
'package:medapp_eksad/screen_small/small_home/small_home3.dart'
;
export
'package:medapp_eksad/animation/animasi_kanan_kiri.dart'
;
export
'package:medapp_eksad/animation/animasi_kiri_kanan.dart'
;
export
'package:medapp_eksad/animation/kanan_kiri_small.dart'
;
export
'package:medapp_eksad/animation/kiri_kanan_small.dart'
;
String
varA
=
''
;
String
varB
=
''
;
String
varC
=
''
;
String
varD
=
''
;
String
varE
=
''
;
String
varF
=
''
;
lib/widget/image_slide.dart
View file @
0b15aada
...
...
@@ -2,11 +2,11 @@ import 'package:flutter/material.dart';
import
'package:carousel_slider/carousel_slider.dart'
;
final
List
<
String
>
imgList
=
[
'
/
images/homepage.png'
,
'
/
images/solution.jpg'
,
'
/
images/contactus1.jpg'
,
'
/
images/solution1.jpg'
,
'
/
images/solution2.jpg'
,
'images/homepage.png'
,
'images/solution.jpg'
,
'images/contactus1.jpg'
,
'images/solution1.jpg'
,
'images/solution2.jpg'
,
];
...
...
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