flutter_open_whatsapp 0.1.2

Flutter Android iOS

A new Flutter plugin that will send Whatsapp message to single user without saving user's number.

Flutter Open WhatsApp #

  A Flutter plugin to open WhatsApp and send message to single number in Android and iOS without saving user's number.

Installation #

  To use the plugin, add 'flutter_open_whatsapp' as a dependency in your pubspec.yaml file.

plug-in package

Usage #

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'),
         )
       ),
     ),
   );
 }

}

Example #

Refer to the example directory of flutter app.
45
likes
80
pub points
94%
popularity

A new Flutter plugin that will send Whatsapp message to single user without saving user's number.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

rohitkesari1814@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_open_whatsapp