GSize class

Constructors

GSize({bool enable = true, String dir = 'lib/common', String name = 'size_constant'})
const

Properties

dir String
lib/common/size_constant.size.dart
final
enable bool
只收集10.px / 10.sp / 1.pix这种扩展数据 需默认生成工具类screen_util.dart,如果有自己的.px/.sp/.pix 可以不生成
final
hashCode int
The hash code for this object.
no setterinherited
name 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