Commit 51332105 authored by Ade Fikriatul  Ilmi's avatar Ade Fikriatul Ilmi

wa

parent a827a998
......@@ -30,15 +30,10 @@ class WAChat extends StatelessWidget {
return FloatingActionButton(
onPressed: () {},
backgroundColor: Colors.green,
child: FutureBuilder<List<dynamic>>(
future: getSosmedDesc(),
child: FutureBuilder<List<dynamic>>(
future: getWaDesc(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
if (snapshot.hasError ||
snapshot.data == null ||
snapshot.connectionState == ConnectionState.waiting) {
return const CircularProgressIndicator();
}
return GestureDetector(
onTap: () {
wa = pgm['whatsapp'];
......@@ -50,7 +45,7 @@ class WAChat extends StatelessWidget {
launchWhatsApp(
phone: wa,
message:
'Hallo, saya tertarik dan saya ingin tahu lebih lanjut tentang program Medapp dari EKSAD');
'Hallo, saya tertarik dan saya ingin tahu lebih lanjut tentang program Medapp dari EKSAD');
},
child: Spring.rotate(
endAngle: 360 * 10,
......
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