SideMenuStyle class

Constructors

SideMenuStyle({double? openSideMenuWidth = 300, double? compactSideMenuWidth = 70, bool showHamburger = false, Color? backgroundColor, Color? selectedColor, Color? hoverColor = Colors.transparent, Color? selectedHoverColor, SideMenuDisplayMode? displayMode = SideMenuDisplayMode.auto, TextStyle? selectedTitleTextStyle, TextStyle? unselectedTitleTextStyle, Color? selectedIconColor = Colors.black, Color? unselectedIconColor = Colors.black54, double? iconSize = 24, TextStyle? selectedTitleTextStyleExpandable, TextStyle? unselectedTitleTextStyleExpandable, Color? selectedIconColorExpandable = Colors.black, Color? unselectedIconColorExpandable = Colors.black54, double? iconSizeExpandable = 24, Color? arrowOpen = Colors.black, Color? arrowCollapse = Colors.black54, BoxDecoration? decoration, Color? toggleColor = Colors.black54, EdgeInsetsGeometry itemOuterPadding = const EdgeInsets.symmetric(horizontal: 5.0), double itemInnerSpacing = 8.0, double itemHeight = 50.0, BorderRadius itemBorderRadius = const BorderRadius.all(Radius.circular(5.0)), bool showTooltip = true})
Style class to configure SideMenu

Properties

arrowCollapse Color?
Color of arrow in collapsed state in SideMenuExpandableItem
getter/setter pair
arrowOpen Color?
Color of arrow in open state in SideMenuExpandableItem
getter/setter pair
backgroundColor Color?
Background color of SideMenu
getter/setter pair
compactSideMenuWidth double?
Width of SideMenu when displayMode was SideMenuDisplayMode.compact
getter/setter pair
decoration BoxDecoration?
Decoration of SideMenu container
getter/setter pair
displayMode SideMenuDisplayMode?
You can use the displayMode property to configure different display modes for the SideMenu
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hoverColor Color?
Color of SideMenuItem when mouse hover on that
getter/setter pair
iconSize double?
Size of icon on SideMenuItem
getter/setter pair
iconSizeExpandable double?
Size of icon on SideMenuExpandableItem
getter/setter pair
itemBorderRadius BorderRadius
Border Radius of menu item
getter/setter pair
itemHeight double
Height of menu item
getter/setter pair
itemInnerSpacing double
Inner spacing of menu item
getter/setter pair
itemOuterPadding EdgeInsetsGeometry
Outer padding of menu item
getter/setter pair
openSideMenuWidth double?
Width of SideMenu when displayMode was SideMenuDisplayMode.open
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color?
Background color of SideMenuItem when item is selected
getter/setter pair
selectedHoverColor Color?
Color of SideMenuItem when mouse hover on that and it was selected
getter/setter pair
selectedIconColor Color?
Color of icon when item is selected in SideMenuItem
getter/setter pair
selectedIconColorExpandable Color?
Color of icon when item is selected in SideMenuExpandableItem
getter/setter pair
selectedTitleTextStyle TextStyle?
Style of title text when item is selected in SideMenuItem
getter/setter pair
selectedTitleTextStyleExpandable TextStyle?
Style of title text when item is selected in SideMenuExpandableItem
getter/setter pair
showHamburger bool
Property that will show Hamburger Icon on TopLeft Corner
getter/setter pair
showTooltip bool
Property that will show user itemName in Tooltip when they'll hover over the item This property will only work if current SideMenuDisplayMode is set compact
getter/setter pair
toggleColor Color?
Color of toggle button
getter/setter pair
unselectedIconColor Color?
Color of icon when item is unselected in SideMenuItem
getter/setter pair
unselectedIconColorExpandable Color?
Color of icon when item is unselected in SideMenuExpandableItem
getter/setter pair
unselectedTitleTextStyle TextStyle?
Style of title text when item is unselected in SideMenuItem
getter/setter pair
unselectedTitleTextStyleExpandable TextStyle?
Style of title text when item is unselected in SideMenuExpandableItem
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