managed to fix it in a bit of a hacky way by adding a custom indentation and setting the default indentation to zero:
return Row(
children: [
SizedBox(width: node.depth == null ? 0 : node.depth! * 10),
Expanded(
child: //Original node widget
),
],
);