nextLocale static method

Future<void> nextLocale({
  1. bool forceAppUpdate = false,
})

Switch the locale to the next in the supported locales list if there is no next locale, it will switch to the first one

Implementation

static Future<void> nextLocale({bool forceAppUpdate = false}) =>
    _controller.nextLocale(forceAppUpdate: forceAppUpdate);