shoutsms

Last updated:

0 purchases

shoutsms Image
shoutsms Images
Add to Cart

Description:

shoutsms

shoutsms #
A new flutter plugin project.
Getting Started #
This project is a starting point for a Flutter
plug-in package,
a specialized package that includes platform-specific implementation code for
Android and/or iOS.
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Using #
The easiest way to use this library is via the top-level functions
import 'package:shoutsms/shoutsms.dart';

vreturn MaterialApp(
home: Scaffold(
key: _scaffoldKey,
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: TextButton(
style: TextButton.styleFrom(
textStyle: const TextStyle(fontSize: 20),
),
onPressed: () async {
await Shoutsms.call(
destination: "94XXXXXXX",
code: "9890",
customMessage: "Your verification sms cose is",
apiKey:
"MshoutOutAPIKEY")
.then((value) {
if (value?.statusCode == 200) {
print('Code has been sent successfully');
} else {
print('Code has send failed');
}
});
},
child: const Text('Send SMS'),
),
)),
);
copied to clipboard
Register with shoutout #
https://getshoutout.com/

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.