onDirectionChanged property

ValueChanged<TextDirection>? onDirectionChanged
final

Callback that is called when the text direction changes

This callback is triggered when the text direction is automatically detected based on the content and changes from LTR to RTL or vice versa.

The callback receives the new text direction, or null if the field is empty.

Implementation

final ValueChanged<TextDirection>? onDirectionChanged;