getCurrentLanguage method

String getCurrentLanguage(
  1. BuildContext context
)

Implementation

String getCurrentLanguage(BuildContext context) {
  return Localizations.localeOf(context).languageCode;
}