rowGenerator

inline fun <T> rowGenerator(crossinline block: (tree: Tree<T, *>, node: T, path: Path<Int>, index: Int, current: View?) -> View): TreeBehavior.RowGenerator<T>(source)

Creates an RowGenerator from the given lambda.

Parameters

block

that will serve as the visualizer's RowGenerator.invoke.