l10n.yaml 1.01 KB
Newer Older
1 2 3 4
# Options used by the localizations tool
## `arb-dir` sets the input directory. The output directory will match
## the input directory if the output directory is not set.
arb-dir: lib/i18n
5 6 7
## `header-file` is the file that contains a custom
## header for each of the generated files.
header-file: header.txt
8 9 10 11
## `output-class` is the name of the localizations class your
## Flutter application will use. The file will need to be
## imported throughout your application.
output-class: StockStrings
12 13 14 15 16 17 18
## `output-localization-file` is the name of the generated file.
output-localization-file: stock_strings.dart
## `template-arb-file` describes the template arb file that the tool
## will use to check and validate the remaining arb files when
## generating Flutter's localization files.
synthetic-package: false
template-arb-file: stocks_en.arb
19 20 21 22
## setting `nullable-getter` to false generates a non-nullable
## StockStrings getter. This removes the need for adding null checks
## in the Flutter application itself.
nullable-getter: false