localizationsSignal top-level property

Signal<Locale> localizationsSignal
final

Widgets signal that tracks the current Locale

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

Implementation

final localizationsSignal = signal<Locale>(const Locale('en'));