RouteMenuItem(this.routeInfo, {bool prominent = false}) { this.menuText = routeInfo.screenName; this.onTap = () { currentRouteSingleton.navigate(routeInfo); }; this.prominent = prominent; }