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
b72846d6
Commit
b72846d6
authored
Sep 02, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WA
parent
e9371a51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
whatsapp.dart
lib/widget/whatsapp.dart
+4
-3
No files found.
lib/widget/whatsapp.dart
View file @
b72846d6
...
...
@@ -10,7 +10,7 @@ class WAChat extends StatelessWidget {
required
String
message
,
})
async
{
String
url
()
{
return
"https://api.whatsapp.com/send?phone=
$phone
&text=
${Uri.parse(message)}
"
;
return
"https://api.whatsapp.com/send?phone=
+62
$phone
&text=
${Uri.parse(message)}
"
;
}
if
(
await
canLaunch
(
url
()))
{
...
...
@@ -28,9 +28,10 @@ class WAChat extends StatelessWidget {
return
FloatingActionButton
(
onPressed:
()
{
launchWhatsApp
(
phone:
6281807890777
,
//phone: 81807890777,
phone:
87701892981
,
message:
'Hallo, saya tertarik d
engan produk EKSAD dan saya ingin tahu lebih lanjut tentang program Protalent
'
);
'Hallo, saya tertarik d
an saya ingin tahu lebih lanjut tentang program Medapp by EKSAD
'
);
},
backgroundColor:
Colors
.
green
,
child:
GestureDetector
(
...
...
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