AllLocalizationsToFlutterHelperClassConverterConfigStructure

Version #1

Description:

Todo

No description for this structure

Fields:

  • arbPattern: String [Optional]
    Default: lib/i18n/app_{{language}}.arb
    Description: Defines the arb files’ output pattern. Must match with the config of AllLocalizationsToFlutterArbConverterProcessor
  • className: String [Optional]
    Default: RespressoLocalizations
    Description: Defines the name of the output class
  • comment: String [Optional]
    Default: null
    Description: Optional comment to be added to the localization file, if supported.
  • eol: String [Optional]
    Default: Single line feed character - aka. ‘n’
    Description: Defines the end of line (EOL) string
  • extensionProperty: String [Optional]
    Default: l10n
    Description: Defines the extension property’s name that will be added to BuildContext to access current localizations.
  • group: String [Optional]
    Default: flutter
    Description: Defines the output file’s sync group
  • importPrefix: String [Optional]
    Default: Automatically derived from the output-dir and path as a relative import
    Description: Defines the import prefix for the flutter generated localization file. Used only with synthetic-package = false.
  • indent: String [Optional]
    Default: 2 spaces
    Description: Defines the indent string
  • outputDir: String [Optional]
    Default: {arbPattern’s directory}/gen
    Description: Defines the output-dir property in the l10n config yaml. Used only with synthetic-package = false.
  • path: String [Optional]
    Default: lib/respresso/respresso_localizations.dart
    Description: Defines the path of the output dart file
  • property: KeyTransformationConfigStructure:v1 [Optional]
    Default: Strategy: always; Transforms: [camelcaseword, lowercaseFirstLetter]
    Description: Defines how the output properties are transformed from the key.
  • syntheticPackage: Boolean [Optional]
    Default: Disables the synthetic package
    Description: Sets the synthetic-package option in the l10n config yaml.

In use by: