Loading topic
MaterialApp, StatelessWidget, and StatefulWidget. You should also know how to edit YAML and JSON files and run Flutter commands such as flutter pub get.2 min readMaterialApp, and can edit pubspec.yaml. You should also know how to run flutter pub get.2 min readMaterialApp, and can edit YAML and JSON files. You should also know how to run flutter pub get.2 min readflutter_localizations. This chapter focuses on the ARB files that gen-l10n reads.2 min readflutter_localizations, intl, and generate: true to the Flutter project. It also assumes that your project has a template ARB file and an l10n.yaml file.2 min readMaterialApp. This chapter also assumes that flutter_localizations, intl, l10n.yaml, and at least one ARB file are configured. The gen-l10n tool has generated AppLocalizations.2 min readflutter_localizations, intl, l10n.yaml, and the ARB files are already configured, and that Flutter has generated AppLocalizations.2 min readMaterialApp loads generated localizations. A placeholder is a named value inside a translated message. Flutter turns its metadata into a typed parameter in AppLocalizations.2 min readMaterialApp, ARB files, and the gen-l10n workflow. It focuses on ICU message syntax for choosing text based on a number or a string.2 min readMaterialApp loads generated AppLocalizations. This chapter focuses on formatting values so that the same data appears naturally in each language and region.2 min readAppLocalizations should load when the app starts.2 min readMaterialApp, and the ARB and gen-l10n setup from earlier chapters. It also assumes that your generated AppLocalizations class already contains translations for at least English and Spanish.1 min readflutter_localizations, generated AppLocalizations, and supplied supportedLocales to MaterialApp. That list tells Flutter which locales the app can render. Platform configuration tells the operating system which languages the app supports.2 min readMaterialApp, and have already generated AppLocalizations from ARB files. The examples use Spanish (es) and a package named trip_planner. Replace that package name with your app's package name.2 min readMaterialApp, YAML, and JSON. This chapter focuses on the translation workflow after gen-l10n is already configured.2 min read