NavigationTab.alert constructor
NavigationTab.alert({})
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,
Map<String, dynamic>? meta})
: meta = {},
kind = "alert" {
this.meta.addAll({
"alertEnabled": alertEnabled,
"rememberAlert": rememberAlert,
});
}