EcpRolePicker class

@author lzj

@since 2022/11/28 16:29

选人组件

Inheritance

Constructors

EcpRolePicker({Key? key, int limitNum = noLimit, bool allowEmpty = false, List<RoleEntity>? selectUserList, bool appBarVisible = true, bool? clickWithoutConfirm = false, String? title = "选择角色", String? searchHint = '请输入角色名称进行搜索', List<String>? indexList, OnSelected<RoleEntity>? onSelected, TileItemBuilder<RoleEntity>? itemBuilder, SelectedBuilder<RoleEntity>? selectedBuilder, bool? showSelectedList, bool refreshEnable = true, bool loadMoreEnable = false, bool isAutoLeading = true, List<RoleEntity>? frozenList, bool showSearch = true, TileRepo<RoleEntity>? repo, SearchRepo<RoleEntity, RoleEntity>? searchRepo})

Properties

allowEmpty → bool
是否允许不选择,如果不允许,则会在返回时提示用户选择
finalinherited
appBarVisible → bool
finalinherited
clickWithoutConfirm → bool?
finalinherited
controller → DUPickerController<RoleEntity, RoleEntity>?
finalinherited
crumbBuilder → CrumbBuilder<RoleEntity, RoleEntity>?
finalinherited
departmentBuilder → CrumbBuilder<RoleEntity, RoleEntity>?
finalinherited
departmentRepo → DepartmentRepo<RoleEntity>?
finalinherited
frozenList → List<RoleEntity>?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
indexList → List<String>?
finalinherited
indexPredicate → IndexPredicate<RoleEntity, RoleEntity>?
finalinherited
isAutoLeading → bool
finalinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
limitNum → int
选择限制数
finalinherited
loadMoreEnable → bool
finalinherited
onBack → VoidCallback?
返回按钮回调
finalinherited
onDataChanged → VoidCallback?
列表数据改变回调
finalinherited
onParentSelect → dynamic Function(List<RoleEntity> parents)?
所有选择路径回调
finalinherited
onSelected → OnSelected<RoleEntity>?
finalinherited
onUserClick → OnUserClick<RoleEntity, RoleEntity>?
finalinherited
refreshEnable → bool
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchHint → String?
finalinherited
searchRepo → SearchRepo<RoleEntity, RoleEntity>?
finalinherited
selectUserList → List<RoleEntity>?
finalinherited
separatorBuilder → IndexedWidgetBuilder?
finalinherited
showIndex → bool?
finalinherited
showSelectedList → bool?
finalinherited
title → String?
finalinherited
userRepo → UserRepo<RoleEntity, RoleEntity>?
finalinherited
userRepoPredication → UserRepoPredication<RoleEntity>?
用户列表是否可访问
finalinherited
userSelectedBuilder → SelectedBuilder<RoleEntity>?
finalinherited
userSelectorBuilder → UserSelectorBuilder<RoleEntity, RoleEntity>?
finalinherited

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<DepartmentUserPicker<RoleEntity, RoleEntity>>
Creates the mutable state for this widget at a given location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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