NavItem constructor
NavItem({
- required VoidCallback onTap,
- required int relativeIndex,
- double? iconSize,
- double? width,
- double? height,
- required String label,
- bool disableHoverPageIndicator = false,
- BorderRadius? splashRadius,
- Color? splashColor = Colors.transparent,
- Color? hoverColor,
- Color? activeTextColor,
- String? path,
- Color? activeColor,
- IconData? icon,
- bool? minimized = false,
- TextStyle? labelStyle,
Implementation
NavItem({required this.onTap, required this.relativeIndex,this.iconSize, this.width, this.height, required this.label,this.disableHoverPageIndicator = false, this.splashRadius,this.splashColor = Colors.transparent,this.hoverColor,this.activeTextColor, this.path, this.activeColor, this.icon, this.minimized = false,this.labelStyle});