AppLangConfig class

Annotation for the configuration of the app language file

Constructors

AppLangConfig({String keyClassName = "AppLang", bool easyLoader = false, bool json = false, Import? import, String? remove, bool addRegionComments = false})
const

Properties

addRegionComments bool
Add region comments to the generated file
final
easyLoader bool
Export the language fields as a dart file for easy_localization loader
final
hashCode int
The hash code for this object.
no setterinherited
import Import?
Import the language fields from a json file Example: Import(locale: "en_US", path: "lib/lang/imports/en_US.json") If the source file is not empty, new languages are added based on the existing keys. If the source file is empty, the keys from the imported file are used.
final
json bool
Export the language fields as json files
final
keyClassName String
The class name of the generated language fields class
final
remove String?
Remove the language fields from the file Example: "en_US"
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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