TabbedLayoutContainer class

This class maintains the document list and visible document in a TabbedLayout widget

Constructors

TabbedLayoutContainer({List<TabbedDocument>? documents, void onRefresh(UnmodifiableListView<TabbedDocument> documents)?})
default constructor

Properties

activeDocument TabbedDocument?
get active document if available or null if no document available.
getter/setter pair
activeDocumentIndex int
get active document index
getter/setter pair
documents UnmodifiableListView<TabbedDocument>
gets a read-only documents list
no setter
hashCode int
The hash code for this object.
no setterinherited
onRefresh ↔ void Function(UnmodifiableListView<TabbedDocument> documents)?
onRefresh event called when ui refresh needed
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDocument(TabbedDocument document) → void
add a document to the end of the list and set it as active document.
clear() → void
clear document list
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