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:
- SystemContextMenu, a widget that can be used to display the system context menu.
- IOSSystemContextMenuItemDataShare, which specifies the data to be sent to the platform for this same button.
- Inheritance
-
- Object
- IOSSystemContextMenuItem
- IOSSystemContextMenuItemShare
Constructors
-
Creates an instance of IOSSystemContextMenuItemShare.
const
Properties
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