PlutoMenuItemStyle class

Set the style of the menu.

Constructors

PlutoMenuItemStyle({Color iconColor = Colors.black54, double iconSize = 20, Color moreIconColor = Colors.black54, double iconScale = 0.86, Color unselectedColor = Colors.black26, Color activatedColor = Colors.lightBlue, Color indicatorColor = const Color(0xFFDCF5FF), EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 15), TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 14), bool enableSelectedTopMenu = false, int? initialSelectedTopMenuIndex = 0, Color selectedTopMenuIconColor = Colors.lightBlue, TextStyle selectedTopMenuTextStyle = const TextStyle(color: Colors.lightBlue, fontSize: 14), bool? selectedTopMenuResolver(PlutoMenuItem, bool?)?})
const

Properties

activatedColor Color
final
enableSelectedTopMenu bool
When the top menu is tapped, the selected style is set.
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color
final
iconScale double
final
iconSize double
final
indicatorColor Color
final
initialSelectedTopMenuIndex int?
Initial top-level menu selection index.
final
moreIconColor Color
final
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTopMenuIconColor Color
The color of the icon in the selected state of the top menu.
final
selectedTopMenuResolver → (bool? Function(PlutoMenuItem, bool?)?)
Determines whether the top-level menu is enabled or disabled when tapped.
final
selectedTopMenuTextStyle TextStyle
The text style of the selected state of the top-level menu.
final
textStyle TextStyle
final
unselectedColor Color
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