flutter_sms_android 2.3.4 flutter_sms_android: ^2.3.4 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 Dart:
$ dart pub add flutter_sms_android
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 dart pub get
):
dependencies:
flutter_sms_android: ^2.3.4
Alternatively, your editor might support dart pub get
or 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';