BarStyle class Null safety
Constructors
- BarStyle({double height = 28.0, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, Color backgroundColor = const Color(0xFF424242), double gap = 0.0, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 0.0), bool closeMenuOnHoverLeave = true, bool openMenuOnHover = false, Duration closeMenuOnHoverDelay = const Duration(milliseconds: 400)})
-
Style the menu bar itself by implementing a custom BarStyle.
const
Properties
- backgroundColor → Color
-
final
- closeMenuOnHoverDelay → Duration
-
final
- closeMenuOnHoverLeave → bool
-
final
- gap → double
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- height → double
-
final
- mainAxisAlignment → MainAxisAlignment
-
final
- openMenuOnHover → bool
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited