ReactiveDestination class

Constructors

ReactiveDestination({Key? key, required String label, required IconData icon, Widget? selectedIcon, Color? indicatorColorForNavRail, ShapeBorder? indicatorShapeForNavRail, EdgeInsetsGeometry? paddingForNavRail, String? tooltipForNavBar})
The ReactiveDestination class represents a destination in a navigation rail or navigation bar, with customizable properties such as label, icon, selected icon, indicator color, indicator shape, padding, and tooltip.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData
The icon property in the ReactiveDestination class represents the icon for the destination. It is typically displayed alongside the label in a navigation rail or navigation bar to provide a visual representation of the destination.
final
indicatorColorForNavRail Color?
The indicatorColorForNavRail property in the ReactiveDestination class represents the color of the indicator that is displayed when the destination is selected in a navigation rail. It allows you to customize the color of the indicator to provide visual feedback to the user when a destination is active or selected.
final
indicatorShapeForNavRail ShapeBorder?
The indicatorShapeForNavRail property in the ReactiveDestination class represents the shape of the indicator that is displayed when the destination is selected in a navigation rail. It allows you to customize the shape of the indicator to provide visual feedback to the user when a destination is active or selected. The indicatorShapeForNavRail property should be set to a ShapeBorder object, such as RoundedRectangleBorder or CircleBorder, to define the shape of the indicator.
final
label String
The label property in the ReactiveDestination class represents the text label for the destination. It is typically displayed alongside the icon in a navigation rail or navigation bar to provide a descriptive name for the destination.
final
paddingForNavRail EdgeInsetsGeometry?
The paddingForNavRail property in the ReactiveDestination class represents the padding around the destination in a navigation rail. It allows you to customize the spacing between the destination's icon and label, as well as the spacing between multiple destinations in the navigation rail. By setting the paddingForNavRail property to an EdgeInsetsGeometry object, you can define the amount of padding on each side of the destination.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIcon Widget?
The selectedIcon property in the ReactiveDestination class represents an alternative icon that is displayed when the destination is selected. It allows you to customize the visual representation of the destination when it is active or selected.
final
tooltipForNavBar String?
The tooltipForNavBar property in the ReactiveDestination class represents the tooltip text that is displayed when the destination is hovered over in a navigation bar. It allows you to provide additional information or a description for the destination when the user hovers over it with their cursor.
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