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(
guide: this,
entry: entry,
textDirection: Directionality.maybeOf(context),
);
}