Update pubspec.yaml and add the following line to your dependencies. Replace $version with the latest version of this package.
dependencies: ez_flutter: 0.4.0
Update your pubspec.yaml file and add the following assets locations.
flutter: assets: - assets/ - locale/
Use the EzRunner to run an EZ Flutter app.
import 'package:ez_flutter/ez_flutter.dart'; void main() async => await EzRunner.run(MyHomePage(title: 'EZ Flutter Home'));
EzRunner is the class for starting a EZ Flutter app. It calls the runApp method with a MaterialApp or CupertinoApp adding a TranslationsDelegate and the locales as supported locales.
It will autoload configuration from different sources. Running the application with default settings.
See the example page for more examples.