LocalizationConfig class

Defines localization configuration for an FKIT project.

Constructors

LocalizationConfig({required bool enabled, required String arbDir, required String templateArb, required String outputDir, required String outputFile, required String defaultLocale, required List<String> locales})
Creates a localization configuration.
const
LocalizationConfig.fromMap(Map map)
Creates a localization configuration from the provided map.
factory

Properties

arbDir → String
The directory containing the project's ARB files.
final
defaultLocale → String
The default locale used by the project.
final
enabled → bool
Whether localization support is enabled.
final
hashCode → int
The hash code for this object.
no setterinherited
locales → List<String>
The locales supported by the project.
final
outputDir → String
The directory where generated localization files are written.
final
outputFile → String
The name of the generated localization output file.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templateArb → String
The ARB file used as the localization template.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited