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
687da645
Commit
687da645
authored
Sep 02, 2022
by
qorri_di
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consume API
- contact us (response sukses)
parent
b72846d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
contact_api.dart
lib/api/contact_api.dart
+1
-0
small_contact_us2.dart
lib/screen_small/small_contact/small_contact_us2.dart
+0
-1
No files found.
lib/api/contact_api.dart
View file @
687da645
...
@@ -19,6 +19,7 @@ Future savecontact(nama, email, nohp, message) async {
...
@@ -19,6 +19,7 @@ Future savecontact(nama, email, nohp, message) async {
// } else {
// } else {
// return false;
// return false;
// }
// }
return
response
.
statusCode
;
}
}
Future
<
List
<
contact
>>
showcontact
()
async
{
Future
<
List
<
contact
>>
showcontact
()
async
{
...
...
lib/screen_small/small_contact/small_contact_us2.dart
View file @
687da645
...
@@ -249,7 +249,6 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
...
@@ -249,7 +249,6 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
Text
(
'Failed to send message!'
),
Text
(
'Failed to send message!'
),
backgroundColor:
Colors
.
red
),
backgroundColor:
Colors
.
red
),
);
);
nameController
.
clear
();
nameController
.
clear
();
phoneController
.
clear
();
phoneController
.
clear
();
emailController
.
clear
();
emailController
.
clear
();
...
...
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