Config class
Constructors
- Config({DataType dataType = DataType.DataMap, String parentId = 'parentId', String value = 'value', String label = 'label', String id = 'id', String children = 'children', bool isCanSingleCheckParent = true, bool isSingleLeaf = false, bool isOnlySelectCurrentNode = false, String selectedCheckColor = "#0000FF"})
-
const
Properties
- children → String
-
final
- dataType → DataType
-
数据类型
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isCanSingleCheckParent → bool
-
final
- isOnlySelectCurrentNode → bool
-
final
- isSingleLeaf → bool
-
(多选的时候才使用)是否只能选叶子节点
(默认是false:也就是返回叶子和树干数据,为true时只返回叶子)
final
- label → String
-
final
- parentId → String
-
父级id key
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedCheckColor → String
-
final
- value → String
-
value key
final
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