Update README.md
This commit is contained in:
parent
4a15d251b3
commit
1e0ab2738f
@ -44,8 +44,11 @@ Create a function for sending messages.
|
||||
String _message = "";
|
||||
|
||||
void _sendSMS(String message, List<String> recipents) async {
|
||||
String _result =
|
||||
await FlutterSms.sendSMS(message: message, recipients: recipents);
|
||||
String _result = await FlutterSms
|
||||
.sendSMS(message: message, recipients: recipents)
|
||||
.catchError((onError) {
|
||||
print(onError);
|
||||
});
|
||||
setState(() => _message = _result);
|
||||
}
|
||||
```
|
||||
@ -62,4 +65,4 @@ iOS SMS | Android MMS
|
||||
:-------------------------:|:-------------------------:
|
||||
 | 
|
||||
|
||||
You can find other [screenshots here](https://github.com/AppleEducate/flutter_sms/tree/master/screenshots).
|
||||
You can find other [screenshots here](https://github.com/AppleEducate/flutter_sms/tree/master/screenshots).
|
||||
|
Loading…
Reference in New Issue
Block a user