NavBarItem( {this.elementName, this.elementIcon, this.portion = 1, required this.navigationId}) : assert(!(elementIcon == null && elementName == null));