PopupMenuControllerMixin<T> mixin

A class version of the mixin below

Implemented types
Mixin applications

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
onCanceled() → void
Called when the user dismisses the popup menu without selecting an item.
override
onChild() → Widget?
The widget used for this button
override
onClipBehavior() → Clip?
The clip shape of the menu.
override
onColor() → Color?
The background color used for the menu
override
onConstraints() → BoxConstraints?
Make the menu wider than the default maximum width
override
onElevation() → double?
This controls the size of the shadow below the menu.
override
onEnabled() → bool?
Whether this popup menu button is interactive
override
onEnableFeedback() → bool?
Whether detected gestures should provide acoustic and/or haptic feedback
override
onIcon() → Widget?
The icon is used for this button
override
onIconSize() → double?
the size of the Icon.
override
onInitialValue() → T?
The value of the menu item, if any, that should be highlighted when the menu opens.
override
onItemBuilder() → PopupMenuItemBuilder<T>?
Explicitly pass a BuildContext: List<PopupMenuEntry<T>> Function(BuildContext context);
override
onItems() → List<T>?
List of menu items to appear in the popup menu.
override
onMenuEntries() → List<PopupMenuEntry<T>>?
List of menu entry items of type T to appear in the popup menu.
override
onOffset() → Offset?
The offset is applied relative to the initial position
override
onOpened() → void
Called when the popup menu is shown.
override
onPadding() → EdgeInsetsGeometry?
In some cases, it's useful to be able to set the padding to zero.
override
onPosition() → PopupMenuPosition?
Whether the menu is positioned over or under the popup menu button
override
onSelected(T value) → void
Called when the user selects a value from the popup menu created by this button.
override
onShape() → ShapeBorder?
The shape used for the menu
override
onSplashRadius() → double?
The splash radius. If null, default splash radius of InkWell or IconButton is used.
override
onTooltip() → String?
Text that describes the action that will occur when the button is pressed.
override
setMenu() → void
Like setState() but for the popup menu
override
showButtonMenu() → void
Show the popup menu
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited