BaseTabs constructor

const BaseTabs({
  1. Key? key,
  2. required List<BaseTabModel> tabs,
  3. double tabHeight = 64.0,
  4. double tabOffset = 128 + 56.0,
  5. Map<ECoreTabsPermissions, bool> permissions = const {ECoreTabsPermissions.canAdd : false, ECoreTabsPermissions.canRemove : false},
  6. void onAddTab(
    1. List<BaseTabModel>
    )?,
  7. void onRemoveTab(
    1. List<BaseTabModel>
    )?,
})

Implementation

const BaseTabs({
  super.key,
  required this.tabs,
  this.tabHeight = 64.0,
  this.tabOffset = 128 + 56.0,
  this.permissions = const {
    ECoreTabsPermissions.canAdd: false,
    ECoreTabsPermissions.canRemove: false,
  },
  this.onAddTab,
  this.onRemoveTab,
});