discontinuedPackage tencent_rtc_plugin has been discontinued.

AssetsUtil class

资源工具类

Constructors

AssetsUtil()

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后的本地资源路径