novident_tree_view library
Classes
- AutomaticNodeIndentation
- Widget that applies indentation to tree nodes based on their depth level
- ComponentContext
- Contextual information container for tree node component construction and configuration.
- ContainerBuilder
-
Represents the
NodeContainerinto the Tree that contains all its children and can be expanded or closed - DragAndDropDetailsListener
- An InheritedWidget that provides drag and drop details state management to descendant widgets.
- DraggableConfigurations
- DraggableListener
- An InheritedWidget that provides drag state management to descendant widgets.
- DragListener
- A controller class that manages drag-and-drop operations within a tree structure.
- IndentConfiguration
- Configuration class that defines how tree nodes should be indented
- LeafNodeBuilder
-
Represents the leaf
Nodeinto the Tree - ListViewConfigurations
- Configuration class for customizing ListView behavior within tree structures.
- NodeComponentBuilder
- Abstract base class for building and configuring node components in a tree structure.
- NodeConfiguration
- NodeDragAndDropDetails
-
Contains all the details necessary to know
what is the
draggedNodeand thetargetNode - NodeDraggableBuilder
-
A widget that wraps either Draggable or LongPressDraggable depending on
the value of
longPressDelay, with additional tree view capabilities. - NodeDragGestures
-
Defines all the callback handlers for drag-and-drop operations involving
Nodeobjects. - NodeTargetBuilder
- NodeTargetBuilder handles drag-and-drop operations for tree nodes
-
NovDragAndDropDetails<
T extends Node> - The details of the drag-and-drop relationship of NodeTargetBuilder and NodeDraggableBuilder.
- TreeConfiguration
- Central configuration class for tree view behavior and operations
- TreeView
- A customizable scrollable tree view component with drag-and-drop support
Enums
- DragHandlerPosition
- Represents where is handled this dragging action
Mixins
- DragAndDropMixin
- Enables nodes to participate in drag-and-drop operations within the tree
Constants
- kLongPressTimeout → const int
Typedefs
-
AnimatedWidgetBuilder
= Widget Function(Animation<
double> , Node node, Widget child) -
EffectiveDragAnchorStrategy
= Offset Function(Draggable<
Object> draggable, BuildContext context, Offset? catchedUserCursorOffset, Offset position) -
NovOnAcceptOnNode
= void Function(NovDragAndDropDetails<
Node> details, Node target, NodeContainer? parent) - A callback that handles the acceptance of a dragged node by a target node.
-
NovOnWillAcceptOnNode
= bool Function(NovDragAndDropDetails<
Node> ? details, DragTargetDetails<Node> dragDetails, Node target, NodeContainer? parent) - A callback that determines whether a dragged node can be accepted by a target node.