L10nConfig class
Configuration for manage localization.
- Available Extensions
Constructors
- L10nConfig({String outputDir = _defaultOutputDir, String sourceFile = _defaultSourceFile, String translationFilesPattern = _defaultTranslationFilesPattern, String baseLocaleForArb = _defaultBaseLocaleForArb, String baseLocaleForXml = _defaultBaseLocaleForXml, String xmlOutputDir = _defaultXmlOutputDir, String? xmlOutputName})
- L10nConfig.fromYaml(YamlMap data)
-
factory
Properties
- baseLocaleForArb → String
-
Base locale for abr files.
final
- baseLocaleForXml → String
-
Base locale for generate xml files by arb.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- outputDir → String
-
Path to the output directory for arb files.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceFile → String
-
Path to the source dart file.
final
- translationFilesPattern → String
-
Pattern for translation abr files names.
final
- xmlOutputDir → String
-
Path to the output directory for xml files.
final
- xmlOutputName → String?
-
Filename for the output xml.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited