loading static method

String loading(
  1. BuildContext context
)

Implementation

static String loading(BuildContext context) {
  final locale = Localizations.maybeLocaleOf(context)
    ?? PlatformDispatcher.instance.locale;

  switch (locale.languageCode) {
    case _localeFr: return "Chargement…";
    case _localeEn:
    default:
      return "Loading…";
  }
}