Commit cef5656b authored by qorri_di's avatar qorri_di

Consume API

- contact_api
parent ab48be35
...@@ -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,
......
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 ='';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment