onTextAlignChanged property
A callback that is called when the text alignment is changed.
This field holds a function that will be called when the text alignment is changed. The function takes a single parameter of type TextAlign, which represents the new text alignment.
Implementation
final ValueChanged<TextAlign>? onTextAlignChanged;