Skip to content

Instantly share code, notes, and snippets.

@kauemurakami
Created July 10, 2020 05:19
Show Gist options
  • Save kauemurakami/042a4bbb1832cbe38082654e2bfd08cb to your computer and use it in GitHub Desktop.
Save kauemurakami/042a4bbb1832cbe38082654e2bfd08cb to your computer and use it in GitHub Desktop.
Classe que contém todas as nossas traduções de diferentes linguas
import 'package:getx_pattern/app/translations/en_US/en_us_translations.dart';
import 'package:getx_pattern/app/translations/es_MX/es_mx_translations.dart';
import 'package:getx_pattern/app/translations/pt_BR/pt_br_translations.dart';
abstract class AppTranslation {
static Map<String, Map<String, String>>
translations =
{
'pt_BR' : ptBR,
'en_US' : enUs,
'es_mx' : esMx
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment