tabs property

  1. @ContentChildren.new(Tab)
set tabs (List<Tab> tabs)

Implementation

@ContentChildren(Tab)
set tabs(List<Tab> tabs) {
  _previousActiveTab = (_tabs.isNotEmpty) ? _activeTab : null;
  _tabs = tabs;
  // TODO(google): Remove if setting of content children occur after
  // child is initialized.
  if (_initialized) _initTabs();
}