ShareWhatsapp class

Share your text message or file directly into Whatsapp

Constructors

ShareWhatsapp()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

installed({WhatsApp type = WhatsApp.standard}) Future<bool>
Checks whether whatsapp is installed in device platform
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
share({WhatsApp type = WhatsApp.standard, String? phone, String? text, XFile? file}) Future<bool>
Share text message and or file into whatsapp
shareFile(XFile file, {String? phone, WhatsApp type = WhatsApp.standard}) Future<bool>
Share file into whatsapp
shareText(String text, {String? phone, WhatsApp type = WhatsApp.standard}) Future<bool>
Share text message into whatsapp
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited