MyoroMenuStyle class
Style model of MyoroMenu
.
- Implementers
- Annotations
-
- @immutable
- @myoroModel
Constructors
- MyoroMenuStyle.new({BoxConstraints? constraints, Color? backgroundColor, BoxBorder? border, BorderRadius? borderRadius, EdgeInsets? searchBarPadding, MyoroInputStyleEnum? searchBarInputStyle, BorderRadius? itemBorderRadius, TextStyle? dialogTextStyle, EdgeInsets? dialogTextLoaderPadding, Color? selectedItemColor})
-
const
- MyoroMenuStyle.fake()
-
factory
Properties
- backgroundColor → Color?
-
Background color of the menu.
final
- border → BoxBorder?
-
Border of the menu.
final
- borderRadius → BorderRadius?
-
Border radius of the menu.
final
- constraints → BoxConstraints?
-
Constraints of the menu.
final
- dialogTextLoaderPadding → EdgeInsets?
-
EdgeInsets of
_DialogText
&_Loader
.final - dialogTextStyle → TextStyle?
-
Text style of
_EmptyMenuDialog
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- itemBorderRadius → BorderRadius?
-
BorderRadius of
_Item
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBarInputStyle → MyoroInputStyleEnum?
-
MyoroInputStyleEnum of
_SearchBar
.final - searchBarPadding → EdgeInsets?
-
Padding of
_SearchBar
.final - selectedItemColor → Color?
-
Color of a selected item.
final
- self → MyoroMenuStyle
-
no setterinherited
Methods
-
copyWith(
{BoxConstraints? constraints, bool constraintsProvided = true, Color? backgroundColor, bool backgroundColorProvided = true, BoxBorder? border, bool borderProvided = true, BorderRadius? borderRadius, bool borderRadiusProvided = true, EdgeInsets? searchBarPadding, bool searchBarPaddingProvided = true, MyoroInputStyleEnum? searchBarInputStyle, bool searchBarInputStyleProvided = true, BorderRadius? itemBorderRadius, bool itemBorderRadiusProvided = true, TextStyle? dialogTextStyle, bool dialogTextStyleProvided = true, EdgeInsets? dialogTextLoaderPadding, bool dialogTextLoaderPaddingProvided = true, Color? selectedItemColor, bool selectedItemColorProvided = true}) → MyoroMenuStyle -
inherited
-
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
Static Methods
-
lerp(
MyoroMenuStyle? a, MyoroMenuStyle? b, double t) → MyoroMenuStyle