IOSSystemContextMenuItemShare class final

Creates an instance of IOSSystemContextMenuItem for the system's built-in share button.

Opens the system share dialog.

Should only appear when shareable content is selected.

The title is optional, but it must be specified before being sent to the platform. Typically it should be set to WidgetsLocalizations.shareButtonLabel.

See also:

Inheritance

Constructors

IOSSystemContextMenuItemShare.new({String? title})
Creates an instance of IOSSystemContextMenuItemShare.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The text to display to the user.
final

Methods

getData(WidgetsLocalizations localizations) IOSSystemContextMenuItemDataShare
Returns the representation of this class used by method channels.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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