view/app_menu library

Classes

AppPopupMenu Get started
A popupmenu that takes in String menu options. Imposes rounded corners and the 'under' position
AppPopupMenuController
Uses the String type as menu options
BorderRadius
An immutable set of radii for each corner of a rectangle.
BoxConstraints
Immutable layout constraints for RenderBox layout.
BuildContext
A handle to the location of a widget in the widget tree.
Color
An immutable 32 bit color value in ARGB format.
Colors
Color and ColorSwatch constants which represent Material design's color palette.
EdgeInsets
An immutable set of offsets in each of the four cardinal directions.
EdgeInsetsGeometry
Base class for EdgeInsets that allows for text-direction aware resolution.
Key
A Key is an identifier for Widgets, Elements and SemanticsNodes.
Offset
An immutable 2D floating-point offset.
PopupMenuButton<T>
Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected. The value passed to onSelected is the value of the selected menu item.
PopupMenuDivider
A horizontal divider in a Material Design popup menu.
PopupMenuEntry<T>
A base class for entries in a Material Design popup menu.
PopupMenuItem<T>
An item in a Material Design popup menu.
PopupMenuWidget<T> Get started
Create a customized PopupMenuButton.
RoundedRectangleBorder
A rectangular border with rounded corners.
Scaffold
Implements the basic Material Design visual layout structure.
ShapeBorder
Base class for shape outlines.
SnackBar
A lightweight message with an optional action which briefly displays at the bottom of the screen.
Text
A run of text with a single style.
Widget
Describes the configuration for an Element.

Enums

PopupMenuPosition
Used to configure how the PopupMenuButton positions its popup menu.

Mixins

PopupMenuControllerMixin<T>
A class version of the mixin below
PopupMenuFunctionsMixin<T>
Supply the useful popup menu functions

Typedefs

PopupMenuCanceled = void Function()
Signature for the callback invoked when a PopupMenuButton is dismissed without selecting an item.
PopupMenuItemBuilder<T> = List<PopupMenuEntry<T>> Function(BuildContext context)
Signature used by PopupMenuButton to lazily construct the items shown when the button is pressed.
PopupMenuItemSelected<T> = void Function(T value)
Signature for the callback invoked when a menu item is selected. The argument is the value of the PopupMenuItem that caused its menu to be dismissed.