Resolver function to dynamically determine the text style based on node data If returns null, falls back to textStyle
final TextStyle? Function(Node<T> node)? textStyleResolver;