app_auto_localize 0.0.103 app_auto_localize: ^0.0.103 copied to clipboard
Localize Flutter Apps with one line of code.
app_auto_localize #
Localize Flutter Apps with one line of code.
Usage #
class _MyHomePageState extends State<MyHomePage> {
@override
void initState() {
// call this method once
initAutoLocalize(
projectPathApsolute: '.../flutter_example', // your project absolute path
locals: ['ar', 'en', 'fr'], // locals
baseLocal: 'en'); // default local
super.initState();
}
...
Important #
comment this code after creating the translation files