NavItem constructor

NavItem({
  1. required VoidCallback onTap,
  2. required int relativeIndex,
  3. double? iconSize,
  4. double? width,
  5. double? height,
  6. required String label,
  7. bool disableHoverPageIndicator = false,
  8. BorderRadius? splashRadius,
  9. Color? splashColor = Colors.transparent,
  10. Color? hoverColor,
  11. Color? activeTextColor,
  12. String? path,
  13. Color? activeColor,
  14. IconData? icon,
  15. bool? minimized = false,
  16. 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});