WebMultipleTabDetector class abstract

Constructors

WebMultipleTabDetector()

Properties

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

Static Methods

getTabs() int
Get the amount of tabs that are currently open. In a non-web instance this will always return 0.
isSingleTab() Future<bool>
Return, if the tab is a single tab This does more error detection, in case the storage of the amount of tabs is wrong.
register([String name = 'tabs']) → void
Registers the current tab / flutter instance. Optionally a name can be set which will be used as localstorage identifier. The name must be the same for all instances of the flutter app.