Getting Started
This Flutter package provides seamless integration with the WhatsApp Business API, enabling developers to send messages, media, templates, manage business profiles, create interactive elements and flows, and share catalog messages within Flutter applications. The package supports the latest WhatsApp Business API version 23.0.
For a comprehensive guide to the WhatsApp Business Cloud API, refer to the official documentation:
WhatsApp Business Cloud API
Installation Options
Choose the method that suits you
- Copy Version
- Flutter Command
- pubspec.yaml
whatsapp: ^4.0.0
flutter pub add whatsapp
You can also copy the following snippet into your pubspec.yaml
file:
dependencies:
whatsapp: ^4.0.0
Import
In your Dart code, import the package like this:
import 'package:whatsapp/whatsapp.dart';