restart static method
Restart the app (useful after language changes).
Implementation
static void restart(BuildContext context) {
context.findAncestorStateOfType<_NyAppState>()?.restart();
}
Restart the app (useful after language changes).
static void restart(BuildContext context) {
context.findAncestorStateOfType<_NyAppState>()?.restart();
}