CustomPointedPopup class

Custom Pointed Popup

Constructors

CustomPointedPopup({WidgetClickCallBack? onClickWidget, required BuildContext context, VoidCallback? onDismiss, int? widthFractionWithRespectToDeviceWidth, Color? backgroundColor, CustomPopupStateChanged? stateChanged, required CustomPointedPopupItem item, bool displayBelowWidget = false, TriangleDirection? triangleDirection, BorderRadius? popupBorderRadius, double? popupElevation, double? customHeight})

Properties

customHeight double?
getter/setter pair
dismissCallback VoidCallback?
callback
getter/setter pair
displayBelowWidget bool
always displayed popup below the widget.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isShow bool
no setter
item CustomPointedPopupItem
getter/setter pair
onClickItemWidget WidgetClickCallBack?
getter/setter pair
popupBorderRadius BorderRadius?
getter/setter pair
popupElevation double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenWidth double
no setter
stateChanged CustomPopupStateChanged?
getter/setter pair
triangleDirection TriangleDirection?
getter/setter pair

Methods

buildPopupMenuLayout(Offset offset) LayoutBuilder
dismiss() → void
itemClicked(CustomPointedPopupItem item) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popupHeight() double
popupWidth() double
show({Rect? rect, GlobalKey<State<StatefulWidget>>? widgetKey, CustomPointedPopupItem? item}) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

arrowHeight double
getter/setter pair
context BuildContext
Cannot be null
getter/setter pair
itemHeight double
getter/setter pair
itemWidth double
getter/setter pair