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