app_popup_menu library

Classes

AppPopupMenu<T>
Abstract so to force to extend a subclass and allow for overriding fields.
BuildContext
A handle to the location of a widget in the widget tree.
Color
An immutable 32 bit color value in ARGB format.
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.
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.

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.