DVTab class

A tab is a route.

The same identity a window has, which is what makes tear-out navigation rather than surgery. There is deliberately no DVTab.widget(...): a tab without a route cannot tear out on any separate-engine target, cannot be deep-linked, and cannot be restored.

Annotations

Constructors

DVTab(DVRouteTarget route, {String? label, bool duplicate = false})
const

Properties

duplicate → bool
Whether this is a deliberate second tab on a route already open.
final
hashCode → int
The hash code for this object.
no setteroverride
label → String?
Shown in the strip. Defaults to the route's last segment.
final
route → DVRouteTarget
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
no setter

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