CustomYamlAssetLoader class
Yaml 文件加载器
Constructors
-
CustomYamlAssetLoader(List<
String> yamlFiles) -
构造函数
const
Properties
Methods
-
convertYamlToMap(
dynamic yaml) → Map< String, dynamic> - 将 Yaml 转换为 Map
-
getLocalePath(
String basePath, Locale locale) → String - 获取本地化路径
-
load(
String path, Locale locale) → Future< Map< String, dynamic> > - 加载 Yaml 文件
-
loadSingleYamlFile(
String path) → Future< Map< String, dynamic> ?> - 加载单个 yaml 文件并转换为 Map
-
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