Server-side access to the browser's Web Share API, which opens the device's
native share sheet so the user can send a title, text, and/or URL to another
app.
-
Creates a new empty content builder.
ShareContent.text(C source)
Sets the free-form text of the share payload, taken from the
value property of the given component.
Sets the free-form text of the share payload.
ShareContent.title(C source)
Sets the title of the share payload, taken from the value
property of the given component (typically an input field).
Sets the title of the share payload.
ShareContent.url(C source)
Sets the URL of the share payload, taken from the value property
of the given component.
Sets the URL of the share payload.
void
Invokes the browser's native share sheet with the given content when the
underlying trigger fires.
void