Target enum

The name/keyword for a browsing context (a tab, window, or <iframe>).

Inheritance

Constructors

Target(String value)
const

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
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

Constants

values → const List<Target>
A constant List of the values in this enum, in order of their declaration.