RailItem class

rail item used by the Animated rail as a tab values like background,activeColor and iconColor overrides default values in the AnimatedRailRaw

Constructors

RailItem({Widget icon = const SizedBox(), Widget screen = const SizedBox(), String? label, Color? background, Color? activeColor, Color? iconColor})

Properties

activeColor Color?
default active color for text and icon overrides AnimatedRailRaw.activeColor
final
background Color?
default icon background color overrides AnimatedRailRaw.iconBackground
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
tab icon to use prefered to be an Icon
getter/setter pair
iconColor Color?
default inactive icon and text color overrides AnimatedRailRaw.iconColor
final
label String?
string label
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screen Widget
required screen to show when this RailItem is selected
getter/setter pair

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