createPainter method
Subclasses must override this method to provide the CustomPainter that will handle line painting.
Implementation
@override
CustomPainter createPainter(BuildContext context, TreeEntry<Object> entry) {
return ConnectingLinesPainter(
colorLinea: color,
lineInterval: lineInterval,
guide: this,
entry: entry,
textDirection: Directionality.maybeOf(context),
);
}