flutter_sms_android 2.3.7 flutter_sms_android: ^2.3.7 copied to clipboard
A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_sms_android
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_sms_android: ^2.3.7
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_sms_android/flutter_sms.dart';
import 'package:flutter_sms_android/flutter_sms_web.dart';