PopupListWindow class
基于 PopUpWindow 的 弹窗列表工具类
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
showButtonPanelPopList(
dynamic context, GlobalKey< State< popKey, {List<StatefulWidget> >String> ? data, PopupDirection popDirection = PopupDirection.bottom, PopupListItemBuilder? itemBuilder, PopupListItemClick? onItemClick, VoidCallback? onDismiss}) → void -
带 itemBuilder 的 Popup List Window
popKey
依附的组件和BrnPopUpWindow组件共同持有的GlobalKeydata
要显示的文本数据列表popDirection
箭头的方向itemBuilder
自定义 item 构造方法onItemClick
item 点击回调onItemClickInterceptor
item 点击拦截回调onDismiss
popUpWindow消失回调 -
showPopListWindow(
dynamic context, GlobalKey< State< popKey, {List<StatefulWidget> >String> ? data, PopupDirection popDirection = PopupDirection.bottom, double offset = 0, double? arrowOffset, PopupListItemClick? onItemClick, VoidCallback? onDismiss}) → void -
显示Popup List Window
popKey
依附的组件和BrnPopUpWindow组件共同持有的GlobalKeydata
要显示的文本数据列表popDirection
箭头的方向offset
距离targetView偏移量onItemClick
item 点击回调onItemClickInterceptor
item 点击拦截回调onDismiss
popUpWindow消失回调