NavStyle class
The visual styling of the ResponsiveNav widget. Contains many customizable properties.
Constructors
-
Creates a NavStyle object.
const
Properties
- backgroundColor → Color?
-
The background color of the navigation bar.
final
-
The height of the bottom navigation bar.
final
- elevation → double?
-
The elevation of the navigation bar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicatorColor → Color?
-
The color of the indicator of the selected navigation item.
final
- labelTextStyle → TextStyle?
-
The text style of the labels of the navigation items.
final
- labelType → NavigationLabelType
-
How to display the labels of the navigation items.
final
- leading → Widget?
-
The leading widget of the side navigation.
final
- padding → EdgeInsetsGeometry?
-
The padding of the navigation items for side navigation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIconTheme → IconThemeData?
-
The icon theme of the selected navigation item for side navigation.
final
- trailing → Widget?
-
The trailing widget of the side navigation.
final
- unselectedIconTheme → IconThemeData?
-
The icon theme of the unselected navigation item for side navigation.
final
- verticalDivider → Widget
-
The vertical divider between side navigation and
ResponsiveNav.child.
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