NavigationTab.alert constructor

NavigationTab.alert({
  1. required String? title,
  2. required Widget? page,
  3. Widget? icon,
  4. Widget? activeIcon,
  5. String? tooltip,
  6. Color? alertColor,
  7. bool? alertEnabled,
  8. bool? rememberAlert = true,
})

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

Implementation

NavigationTab.alert({
  required this.title,
  required this.page,
  this.icon,
  this.activeIcon,
  this.tooltip,
  this.alertColor,
  bool? alertEnabled,
  bool? rememberAlert = true,
}) : meta = {"alertEnabled": alertEnabled, "rememberAlert": rememberAlert},
     kind = "alert";