build method
Implementation
@override
Widget build(BuildContext context, List<TreeNodeDepth> depth, int index) {
if (index <= 0) {
return const SizedBox();
}
return CustomPaint(
painter: _PathPainter(
color: color ?? Theme.of(context).colorScheme.border,
top: true,
bottom: true,
),
);
}