GColor class

Constructors

GColor({bool enable = true, String dir = 'lib/common', String name = 'color_constant'})
自动收集项目所有color定义,统一管理 第一次会自动生成文件,之后会读取生成的文件做update
const

Properties

dir String
lib/common/color_constant.color.dart
final
enable bool
是否生成color_util.dart工具类
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