TabbedLayoutContainer constructor

TabbedLayoutContainer({
  1. List<TabbedDocument>? documents,
  2. void onRefresh(
    1. UnmodifiableListView<TabbedDocument> documents
    )?,
})

default constructor

Implementation

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