What Compose's Menu sets in code (behavior.yaml, verified at the pin).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
- checkIconFadeMotion → const ExpressiveMotionKey
-
The spring a checked item's leading icon fades in and out with. (
Menu.ktline 2014.) - checkIconSizeMotion → const ExpressiveMotionKey
-
The spring a checked item's leading icon grows in and shrinks away with.
(
Menu.ktline 2013.) - closedScale → const double
-
The scale a menu opens from and closes to (around its transform origin at
the anchor). (
Menu.ktline 2403.) - dividerHorizontalPadding → const Dp
-
A divider's inset from its group's sides. (
MenuDefaults.ktline 180.) - dividerVerticalPadding → const Dp
-
The gap above and below a divider between a group's items.
(
MenuDefaults.ktline 180.) - groupLabelMinHeight → const Dp
-
A group label's least height. (
Menu.ktline 2394.) - groupLabelPaddingEnd → const Dp
-
A group label's padding at its end. (
MenuDefaults.ktline 187.) - groupLabelPaddingStart → const Dp
-
A group label's padding at its start. (
MenuDefaults.ktline 187.) - groupShapeMotion → const ExpressiveMotionKey
-
The spring a group's corners morph with between active and inactive (hover
left the group). (
Menu.ktline 294.) - groupVerticalPadding → const Dp
-
The padding above the first and below the last item of a menu group.
(
Menu.ktline 2379.) - horizontalMargin → const Dp
-
The least gap a menu keeps to the window's start and end edges when it is
placed. (
Menu.ktline 2373.) - itemColorMotion → const ExpressiveMotionKey
-
The spring an item's container colour changes with when it is selected.
(
Menu.ktline 2016.) - itemHorizontalPadding → const Dp
-
An item's content padding at its start and end. (
Menu.ktline 2377.) - itemIconSpacing → const Dp
-
The gap between an item's leading icon and its text, and between its text
and trailing content (touch sizing). (
MenuDefaults.ktline 855.) - itemInset → const Dp
-
The gap between an item's container and its group's sides. (
Menu.ktline 2381.) - itemInsetVerticalWithSupportingText → const Dp
-
The gap above and below an item's container when the item has supporting
text. (
Menu.ktline 2383.) - itemMaxWidth → const Dp
-
A menu item's (and group label's) greatest width. (
Menu.ktline 2391.) - itemMinWidth → const Dp
-
A menu item's (and group label's) least width. (
Menu.ktline 2389.) - itemShapeMotion → const ExpressiveMotionKey
-
The spring an item's corners morph with between rest and selected.
(
Menu.ktline 2013.) - itemVerticalPadding → const Dp
-
An expressive (grouped, checkable or selectable) item's content padding at
its top and bottom. (
MenuDefaults.ktline 863.) - openAlphaMotion → const ExpressiveMotionKey
-
The spring a dropdown menu fades open and closed with (both menu
overloads). (
Menu.ktline 1831.) - openScaleMotion → const ExpressiveMotionKey
-
The spring a dropdown menu scales open and closed with (both menu
overloads). (
Menu.ktline 1830.) - verticalMargin → const Dp
-
The least gap a menu keeps to the window's top and bottom edges when it is
placed. (
Menu.ktline 2325.)