GAssets class

Constructors

GAssets({required String path, bool enable = true, List<String> ignoresSuffix = const ['.zip'], String dir = 'lib/common', String name = 'assets_constant'})
const

Properties

dir String
lib/common/assets_constant.assets.dart
final
enable bool
final
hashCode int
The hash code for this object.
no setterinherited
ignoresSuffix List<String>
.ttf、.zip
final
name String
文件名
final
path String
资源路径,相对路径 默认适配多尺寸图
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffix String?
后缀
finalinherited

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