NotchedDecoration class
- Inheritance
-
- Object
- NavbarDecoration
- NotchedDecoration
Constructors
- NotchedDecoration({Color? backgroundColor, double? elevation, bool? showUnselectedLabels = true, TextStyle? unselectedLabelTextStyle, Color? unselectedIconColor, Color? selectedIconColor, Color? unselectedLabelColor, IconThemeData? selectedIconTheme})
-
factory
Properties
- backgroundColor → Color?
-
The backgroundColor of the Navbar
finalinherited
- borderRadius → BorderRadius?
-
BorderRadius for floating navbar
finalinherited
- elevation → double?
-
The elevation shadown on the edges of bottomnavigationbar
finalinherited
- enableFeedback → bool?
-
haptic feedback when the item is selected
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
finalinherited
- indicatorColor → Color?
-
finalinherited
- indicatorShape → ShapeBorder?
-
finalinherited
- isExtended → bool
-
Defines whether the Navbar is extended in Desktop mode
defaults to false
finalinherited
- labelBehavior → NavigationDestinationLabelBehavior?
-
Specifies when each NavigationDestination's label should appear.
This is used to determine the behavior of NavigationBar's destinations
finalinherited
- margin → EdgeInsetsGeometry?
-
margin for floating navbar
defaults to EdgeInsets.symmetric(horizontal: 48.0, vertical: 20),
finalinherited
- minExtendedWidth → double
-
Width when
isExtended
is True, The default value is 256.finalinherited - minWidth → double
-
The smallest possible width for the navbar when
NavbarRouter.isDesktop
is True, this width is regardless of the navbar's icon or label size. The default is 72.finalinherited -
The type of the Navbar to be displayed
BottomNavigationBarType.fixed or BottomNavigationBarType.shifting
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIconColor → Color?
-
The icon color of the selected NavbarItem
if NavbarItem.selectedIcon is specified then this is ignored
finalinherited
- selectedIconTheme → IconThemeData?
-
iconTheme for the selected icon
finalinherited
- selectedLabelTextStyle → TextStyle?
-
the text style of the selected label
finalinherited
- showSelectedLabels → bool?
-
whether or not to show the selected label text
finalinherited
- showUnselectedLabels → bool
-
Whether or not to show the unselected label text
When in DesktopMode, either isExtended is False or showUnselectedLabels is True
finalinherited
- unselectedIconColor → Color?
-
The color of the unselected item icon
finalinherited
- unselectedIconTheme → IconThemeData?
-
iconTheme for the unselected icon
finalinherited
- unselectedItemColor → Color?
-
The color of the unselected item
finalinherited
- unselectedLabelColor → Color?
-
The color of the unselected label text
finalinherited
- unselectedLabelTextStyle → TextStyle?
-
the text style of the unselected labels
finalinherited
Methods
-
copyWith(
{Color? backgroundColor, BorderRadius? borderRadius, bool? isExtended, Color? unselectedItemColor, double? elevation, double? height, double? minWidth, double? minExtendedWidth, Color? unselectedIconColor, bool? showUnselectedLabels, Color? unselectedLabelColor, bool? showSelectedLabels, bool? enableFeedback, Color? indicatorColor, ShapeBorder? indicatorShape, Color? selectedIconColor, EdgeInsetsGeometry? margin, NavigationDestinationLabelBehavior? labelBehavior, TextStyle? selectedLabelTextStyle, TextStyle? unselectedLabelTextStyle, IconThemeData? selectedIconTheme, IconThemeData? unselectedIconTheme}) → NavbarDecoration -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
- to navb bar decoration
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited