ScrollNavigationItem constructor

const ScrollNavigationItem({
  1. Widget? icon,
  2. String? title,
  3. TextStyle? titleStyle,
  4. Widget? activeIcon,
})

Creates an item that is used with ScrollNavigation.items. The argument icon should not be null and the argument title if null or empty don't show it.

Implementation

const ScrollNavigationItem({
  this.icon,
  this.title,
  this.titleStyle,
  this.activeIcon,
});