directionalitySignal top-level property

Signal<TextDirection> directionalitySignal
final

Widgets signal that tracks the current TextDirection

updateWidgetsSignals is required to be called in the builder method of the root app

Implementation

final directionalitySignal = signal<TextDirection>(TextDirection.ltr);