AssetsUtil class
资源工具类
Constructors
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 Methods
-
copyAssetToLocal(
String asset, {bool rewrite = false}) → Future< String> -
将资源复制到本地
asset
Flutter资源rewrite
当存在相同文件的,是否覆盖Return
Copy后的本地资源路径