mirror of
https://github.com/flutter/flutter.git
synced 2026-02-05 03:09:43 +08:00
*Starting with arb files in lib/l10n, the tool creates the following by default: 1. An AppLocalizations class containing: - an `AppLocalizationsDelegate` - a `supportedLocales` property that returns a list of all supported locales. - a `localizationsDelegate` property that returns a list containing this delegate along with `GlobalMaterialLocalizations.delegate`, `GlobalCupertinoLocalizations.delegate`, and `GlobalWidgetsLocalizations.delegate`. 2. One Dart `message_<locale>.dart` file for each arb file, as well as a `messages_all.dart` file that performs the locale message lookup. The tool infers the locale of each arb file from the @@Locale property or the arb file's name.
This directory contains tools and resources that the Flutter team uses during development of the framework. The tools in this directory should not be necessary for developing Flutter applications, though of course they may be interesting if you are curious.
The tests in this directory are run in the framework_tests_misc-*
shards.