ScrollNavigationItem class

Constructors

ScrollNavigationItem({Widget? icon, String? title, TextStyle? titleStyle, 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.
const

Properties

activeIcon Widget?
The icon will change to the activeIcon when the user is on that page.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
The icon to display inside the button.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
If the title is null or empty won't show it.
final
titleStyle TextStyle?
The style for title, the color property will ignored.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited