TreeSliverNodeBuilder typedef

TreeSliverNodeBuilder = Widget Function(BuildContext context, TreeSliverNode<Object?> node, AnimationStyle animationStyle)

Signature for a function that creates a Widget to represent the given TreeSliverNode in the TreeSliver.

Used by TreeSliver.treeNodeBuilder to build rows on demand for the tree.

Implementation

typedef TreeSliverNodeBuilder =
    Widget Function(
      BuildContext context,
      TreeSliverNode<Object?> node,
      AnimationStyle animationStyle,
    );