TabbedLayoutContainer constructor
TabbedLayoutContainer({
- List<
TabbedDocument> ? documents, - void onRefresh(
- UnmodifiableListView<
TabbedDocument> documents
- UnmodifiableListView<
default constructor
Implementation
TabbedLayoutContainer({List<TabbedDocument>? documents, this.onRefresh})
: _documents = documents ?? [],
_activeDocument = documents != null ? (documents.isEmpty ? -1 : 0) : -1;