ShareUtils class
Name: 分享工具类 基于 share_plus Created by Fitem on 2023/6/28
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
分享文件
path与bytes二选一,不符合则抛出 FormatException 异常name文件名称path文件路径bytes文件字节text分享内容subject分享主题 -
分享多个文件
files文件列表text分享内容subject分享主题 -
分享图片
path与bytes二选一,不符合则抛出 FormatException 异常name图片名称path图片路径bytes图片字节text分享内容subject分享主题 -
分享多张图片
images图片列表text分享内容subject分享主题 -
分享文本
text分享内容subject分享主题