AppPopupMenu<T> class
abstract
Abstract so to override fields
Constructors
-
AppPopupMenu({Key? key, List<
T> ? items, PopupMenuItemBuilder<T> ? itemBuilder, T? initialValue, PopupMenuItemSelected<T> ? onSelected, PopupMenuCanceled? onCanceled, String? tooltip, double? elevation, EdgeInsetsGeometry? padding = const EdgeInsets.all(8), Widget? child, Widget? icon, Offset? offset = Offset.zero, bool? enabled = true, ShapeBorder? shape, Color? color, bool? captureInheritedThemes = true})
Properties
- captureInheritedThemes ↔ bool?
-
getter/setter pair
- child ↔ Widget?
-
getter/setter pair
- color ↔ Color?
-
getter/setter pair
- context ↔ BuildContext?
-
getter/setter pair
- elevation ↔ double?
-
getter/setter pair
- enabled ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ Widget?
-
getter/setter pair
- initialValue → T?
-
final
-
itemBuilder
→ PopupMenuItemBuilder<
T> ? -
final
-
items
→ List<
T> ? -
final
- key → Key?
-
final
-
override in subclass
no setter
- offset ↔ Offset?
-
getter/setter pair
- onCanceled ↔ PopupMenuCanceled?
-
getter/setter pair
-
onSelected
→ PopupMenuItemSelected<
T> ? -
final
- padding ↔ EdgeInsetsGeometry?
-
getter/setter pair
- popupMenuButton → Widget
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape ↔ ShapeBorder?
-
getter/setter pair
- tooltip ↔ String?
-
getter/setter pair
Methods
-
errorSnackBar(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCancellation(
) → void - override in subclass
-
onCaptureInheritedThemes(
) → bool? - override in subclass
-
onChild(
) → Widget? - override in subclass
-
onColor(
) → Color? - override in subclass
-
onElevation(
) → double? - override in subclass
-
onEnabled(
) → bool? - override in subclass
-
onIcon(
) → Widget? - override in subclass
-
onInitialValue(
) → T? - override in subclass
-
onItemBuilder(
BuildContext context) → List< PopupMenuEntry< T> > - override in subclass
-
onItems(
) → List< T> ? - override in subclass
-
onOffset(
) → Offset? - override in subclass
-
onPadding(
) → EdgeInsetsGeometry? - override in subclass
-
onSelection(
T value) → void - override in subclass
-
onShape(
) → ShapeBorder? - override in subclass
-
onTooltip(
) → String? - override in subclass
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited