showLocales static method

Future<Locale?> showLocales(
  1. BuildContext context, [
  2. String? reason
])

Implementation

static Future<Locale?> showLocales(
  BuildContext context, [
  String? reason,
]) async {
  try {
    if (i._delegate == null) return null;
    return i._delegate!.select(context, reason);
  } catch (msg) {
    i._log(msg);
    return null;
  }
}