LinkTarget class

Defines where a Link URL should be open.

This is a class instead of an enum to allow future customizability e.g. opening a link in a specific iframe.

Properties

debugLabel String
Used to distinguish multiple const instances of LinkTarget.
final
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

Constants

blank → const LinkTarget
On the web, this opens the link in a new tab or window (depending on the browser and user configuration).
defaultTarget → const LinkTarget
Use the default target for each platform.
self → const LinkTarget
On the web, this opens the link in the same tab where the flutter app is running.