FFNavBarItem constructor
FFNavBarItem({
- @Deprecated('This field is deprecated.') String? legacyLabel,
- bool? show,
- bool? differentActiveIcon,
- FFText? label,
Implementation
factory FFNavBarItem({
FFIcon? navIcon,
FFIcon? navActiveIcon,
@$core.Deprecated('This field is deprecated.') $core.String? legacyLabel,
$core.bool? show,
$core.bool? differentActiveIcon,
FFGoogleNavBarItem? googleNavBarItem,
FFFloatingNavBarItem? floatingNavBarItem,
FFText? label,
$core.bool? alwaysShowNavBar,
}) {
final result = create();
if (navIcon != null) result.navIcon = navIcon;
if (navActiveIcon != null) result.navActiveIcon = navActiveIcon;
if (legacyLabel != null) result.legacyLabel = legacyLabel;
if (show != null) result.show = show;
if (differentActiveIcon != null)
result.differentActiveIcon = differentActiveIcon;
if (googleNavBarItem != null) result.googleNavBarItem = googleNavBarItem;
if (floatingNavBarItem != null)
result.floatingNavBarItem = floatingNavBarItem;
if (label != null) result.label = label;
if (alwaysShowNavBar != null) result.alwaysShowNavBar = alwaysShowNavBar;
return result;
}