NavigationTab constructor

NavigationTab({
  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 = const {},
})

NavigationTab is a class that holds the title, page, icon, activeIcon, backgroundColor, tooltip, and meta data of a bottom navigation tab.

Implementation

NavigationTab(
    {required this.title,
    required this.page,
    this.icon,
    this.activeIcon,
    this.tooltip,
    this.backgroundColor,
    this.meta = const {}})
    : kind = 'default';