v0.1.2
flutter_open_whatsapp
Ein neuer Flutter-Plugin, der WhatsApp-Nachrichten an einen einzelnen Benutzer sendet, ohne die Nummer des Benutzers zu speichern.
87Likes 6630-Tage-Downloads40Pub-Punkte
Keine Plattformdaten
Ein Flutter-Plugin, um WhatsApp zu öffnen und eine Nachricht an eine einzelne Nummer zu senden.
{"sdk":"flutter"}{"sdk":"flutter"}Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
A Flutter plugin to open WhatsApp and send message to single number in Android and iOS without saving user's number.
To use the plugin, add 'flutter_open_whatsapp' as a dependency in your pubspec.yaml file.
import 'package:flutter_open_whatsapp/flutter_open_whatsapp.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: MaterialButton(onPressed: (){
FlutterOpenWhatsapp.sendSingleMessage("918179015345", "Hello");
},
child: Text('Running on: $_platformVersion\n'),
)
),
),
);
}
}
Refer to the example directory of flutter app.