wesender_flutter 0.0.2 wesender_flutter: ^0.0.2 copied to clipboard
A new Flutter package to send messages from WeSender.
WeSender - Package for Flutter #
This is a package for a bulk sms sending service called WeSender.
Installation and Usage #
Once you're familiar with Flutter you may install this package adding wesender
(0.0.1) to the dependencies list
of the pubspec.yaml
file as follow:
dependencies:
flutter:
sdk: flutter
wesender: ^0.0.1
Then run the command flutter packages get
on the console.
Sending messages #
Add the import statement for wesender
and create an instance of the WeSender class and then call the method sendMessage:
import 'package:wesender/WeSender.dart';
void main() {
WeSenderSDK weSender = WeSenderSDK(apiKey: "YOUR_API_KEY");
weSender.sendMessage(
destine: ["000000000"],
message: "Hello World",
hasSpecialCharacters: true);
}
Help this Library #
You can help/support by:
- Reporting a Bug;
- Making pull request;
- Write a tutorial about this;
- ❤️ Staring this repository;