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
cef5656b
Commit
cef5656b
authored
Aug 31, 2022
by
qorri_di
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consume API
- contact_api
parent
ab48be35
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
contact_api.dart
lib/api/contact_api.dart
+1
-1
componen.dart
lib/widget/componen.dart
+29
-0
No files found.
lib/api/contact_api.dart
View file @
cef5656b
...
@@ -5,7 +5,7 @@ import 'package:medapp_eksad/model/contact_model.dart';
...
@@ -5,7 +5,7 @@ import 'package:medapp_eksad/model/contact_model.dart';
Future
<
bool
>
savecontact
(
nama
,
email
,
nohp
,
message
)
async
{
Future
<
bool
>
savecontact
(
nama
,
email
,
nohp
,
message
)
async
{
final
response
=
await
http
.
post
(
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
({
body:
jsonEncode
({
"nama"
:
nama
,
"nama"
:
nama
,
"email"
:
email
,
"email"
:
email
,
...
...
lib/widget/componen.dart
0 → 100644
View file @
cef5656b
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
=
''
;
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