SkdxTreeNode<T> class
Immutable application-owned hierarchy node. hasChildren supports children that have not been fetched yet. Applications load them in response to an expansion request and replace the node; this widget never fetches data.
- Annotations
Constructors
-
SkdxTreeNode({required Object id, required String label, required T value, List<
SkdxTreeNode< children = const [], bool hasChildren = false, bool enabled = true, IconData? icon})T> >
Properties
-
children
→ List<
SkdxTreeNode< T> > -
final
- enabled → bool
-
final
- hasChildren → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
final
- id → Object
-
final
- isBranch → bool
-
no setter
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
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