NavigationTab.tab constructor

NavigationTab.tab({
  1. required String? title,
  2. required Widget? page,
  3. Widget? icon,
  4. Widget? activeIcon,
  5. String? tooltip,
  6. Color? backgroundColor,
  7. Map<String, dynamic>? meta,
})

NavigationTab.tab is a convenience constructor for standard tabs.

Implementation

NavigationTab.tab({
  required this.title,
  required this.page,
  this.icon,
  this.activeIcon,
  this.tooltip,
  this.backgroundColor,
  Map<String, dynamic>? meta,
}) : alertColor = null,
     meta = meta ?? {},
     kind = "tab";