ShareItem class

Constructors

ShareItem.html(String html, {String? label, String? subject})
factory
ShareItem.image(String imageUrl, {String? subject, String? caption, String? label})
factory
ShareItem.text(String text, {String? label, String? subject, String? imageUrl, String? videoUrl, String? icon, String? caption})
factory
ShareItem.url(String url, {String? caption, String? subject, String? label, String? imageUrl, String? iconUrl, String? videoUrl})
factory

Properties

content → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
label String?
final
metadata ShareMetadata?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareType ShareType
final
subject String?
final
variants Map<String, TargetedShareContent>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>?
toString() String
A string representation of this object.
inherited
variant(TargetAction target, ShareContent content) ShareItem

Operators

operator +(TargetedShareContent targeted) ShareItem
operator ==(Object other) bool
The equality operator.
inherited