textStyleResolver property
Resolver function to dynamically determine the text style based on node data If returns null, falls back to textStyle
The style it returns is scaled like textStyle.
Implementation
final TextStyle? Function(Node<T> node)? textStyleResolver;