LanguageMode class

===================== 语言模式

Constructors

LanguageMode.locale(I18nLang lang)
factory
LanguageMode.system([String label = '跟随系统'])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isSystem bool
no setter
label String
final
localeKey String?
final
name String
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

Static Methods

fromName(String? name, List<I18nLang> langs, {required String systemLabel}) LanguageMode