AssetUtil class

资源帮助类

Properties

hashCode int
The hash code for this object.
no setterinherited
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 Properties

animRoot String
getter/setter pair
audioRoot String
getter/setter pair
fontRoot String
getter/setter pair
imageRoot String
getter/setter pair
otherRoot String
getter/setter pair
videoRoot String
getter/setter pair

Static Methods

animPath(String animName) String
拼接动画路径 animName: xxx.json
audioPath(String audioName) String
拼接音频路径 audioName: xxx.mp3
fontPath(String fontName) String
拼接字体路径 fontName: xxx.ttf
imagePath(String imageName) String
拼接图片路径 imageName: xxx.png
init({String? imageDir, String? audioDir, String? videoDir, String? fontDir, String? animDir, String? otherDir}) → void
otherPath(String otherName) String
拼接其他路径 otherName: xxx.bbb
videoPath(String videoName) String
拼接视频路径 videoName: xxx.mp4