internationalization 2.0.0 copy "internationalization: ^2.0.0" to clipboard
internationalization: ^2.0.0 copied to clipboard

outdated

A project to easily implement internationalization on flutter projects

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:internationalization/internationalization.dart';

import 'usage.dart';

void main() async {
  await Internationalization.loadConfigurations();
  runApp(InternationalizationExampleApp());
}

class InternationalizationExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      supportedLocales: suportedLocales,
      localizationsDelegates: [
        Internationalization.delegate,
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      home: Usage(),
    );
  }
}
20
likes
40
points
215
downloads

Publisher

unverified uploader

Weekly Downloads

A project to easily implement internationalization on flutter projects

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter, flutter_localizations, yaml

More

Packages that depend on internationalization