PopupListWindow class

基于 PopUpWindow 的 弹窗列表工具类

Constructors

PopupListWindow()

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<StatefulWidget>> popKey, {List<String>? data, PopupDirection popDirection = PopupDirection.bottom, PopupListItemBuilder? itemBuilder, PopupListItemClick? onItemClick, VoidCallback? onDismiss}) → void
带 itemBuilder 的 Popup List Window popKey 依附的组件和BrnPopUpWindow组件共同持有的GlobalKey data 要显示的文本数据列表 popDirection 箭头的方向 itemBuilder 自定义 item 构造方法 onItemClick item 点击回调 onItemClickInterceptor item 点击拦截回调 onDismiss popUpWindow消失回调
showPopListWindow(dynamic context, GlobalKey<State<StatefulWidget>> popKey, {List<String>? data, PopupDirection popDirection = PopupDirection.bottom, double offset = 0, double? arrowOffset, PopupListItemClick? onItemClick, VoidCallback? onDismiss}) → void
显示Popup List Window popKey 依附的组件和BrnPopUpWindow组件共同持有的GlobalKey data 要显示的文本数据列表 popDirection 箭头的方向 offset 距离targetView偏移量 onItemClick item 点击回调 onItemClickInterceptor item 点击拦截回调 onDismiss popUpWindow消失回调