Search packages, repositories and app categories

Package detailsv0.1.2

flutter_open_whatsapp

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

30-day downloads
164
Likes
87
Pub points
40

Install package

flutter pub add flutter_open_whatsapp

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables sending WhatsApp messages directly to a single user by specifying their phone number, without requiring the number to be saved in the device's contacts. It leverages native WhatsApp intents to open the app and pre-fill the message, streamlining communication within apps. Ideal for customer support, order confirmations, or quick messaging features. The plugin is lightweight and integrates seamlessly with existing Flutter projects.

Use cases

  • Sending support messages
  • Order confirmation notifications
  • Quick customer outreach
  • Sharing links via WhatsApp
  • Automated message triggers

Key features

  • Direct message sharing
  • No contact saving required
  • Native WhatsApp integration
  • Simple API
  • Cross-platform compatibility

Suitable for

  • Customer service apps
  • E-commerce platforms
  • Event reminder systems
  • User onboarding flows
  • Messaging-heavy applications

Considerations

  • Requires WhatsApp installed on device
  • Limited to single recipient
  • Depends on WhatsApp's intent handling
  • May not work on all Android devices
  • No message delivery confirmation

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.

Plugin package link

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.

Categories

Source repository

Projects using this package

No data available yet.