Target enum
The name/keyword for a browsing context (a tab, window, or <iframe>).
Values
- self → const Target
-
The current browsing context. (Default)
const Target('_self')
- blank → const Target
-
Usually a new tab, but users can configure browsers to open a new window instead.
const Target('_blank')
- parent → const Target
-
The parent browsing context of the current one. If no parent, behaves as Target.self.
const Target('_parent')
- top → const Target
-
The topmost browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as Target.self.
const Target('_top')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
final
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