onFontChange property
Callback function for changing the text font style.
This function is called whenever the user selects a new font style, allowing the application to update the text style.
Implementation
final Function(TextStyle style) onFontChange;