cascading_menu library
Classes
- AnimatedMenuTheme
- CheckboxMenuItem
- ContextMenuRegion
- A region that opens a menu on a secondary button up event if a pointer device kind is the mouse and on a long press gesture if it's any other kind.
-
LerpMenuItemProperties<
T> - Menu
- MenuDivider
- The widget is visible only for a vertical menu. Returns shrunk SizedBox for horizontal one.
- MenuItem
- An item in a cascading menu.
-
MenuItemMaterialStateProperty<
T> - MenuItemStyle
- MenuItemTileDelegate
- MenuItemTileDelegateForChild
- MenuItemTileDelegateForLTT
- MenuItemWidget
- An interface for items used in a cascading menu.
- MenuItemWidgetWrapper
- MenuManager
- MenuManagerController
-
MenuRadioGroup<
T> - MenuRoute
- MenuStyle
- MenuStyleTween
- MenuTheme
- OpenMenuButton
- Shows the menu when pressed or, if a pointer device kind is the mouse and the button is part of another menu — when a pointer enters the button.
- OpenMenuButtonState
-
RadioMenuItem<
T> -
ResolvedMenuItemMaterialStateProperty<
T> - SliderMenuItem
Enums
- MenuItemControlAffinity
- Specifies on which edge of MenuItem to place a control.
- StartPaddingStyle
Constants
- kButtonMenuPadding → const double
- kMenuAreaPadding → const double
- kMenuCornerRadius → const double
- kMenuElevation → const double
- kMenuItemBottomPadding → const double
- kMenuItemContentsMinHorzSpacing → const double
- kMenuItemContentsVertSpacing → const double
- kMenuItemEndPadding → const double
- kMenuItemEnlargedStartPadding → const double
- kMenuItemIconSize → const double
- kMenuItemStartPadding → const double
- kMenuItemTopPadding → const double
- kMenuVertPadding → const double
- kVertMenuMinWidth → const double
Functions
-
lerpMenuItemProperties<
T> (MenuItemMaterialStateProperty< T> ? a, MenuItemMaterialStateProperty<T> ? b, double t, T lerp(T, T, double)) → MenuItemMaterialStateProperty<T> ? -
popCurrentMenuRouteIfAny<
T> (BuildContext context) → void -
showMenu(
BuildContext context, BuildContext? alignmentContext, Color? barrierColor, Route? route}) → Route -
Shows the
menu
at themenuPosition
.