AppColors class

项目颜色常量定义

Constructors

AppColors()

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

primaryWithOpacity(double opacity) Color
主色透明度变体

Constants

background → const Color
背景色
black → const Color
黑色
border → const Color
边框颜色
borderDisabled → const Color
error → const Color
错误色
grey50 → const Color
灰色系
grey100 → const Color
grey200 → const Color
grey300 → const Color
grey400 → const Color
grey500 → const Color
grey600 → const Color
grey700 → const Color
grey800 → const Color
grey900 → const Color
info → const Color
信息色
lightBeige → const Color
浅米色 - 用于特殊背景
lightOrange → const Color
浅橙色调 - 用于特殊背景
primary → const Color
主色调 - 明亮主题下的主色 (0xFF101010)
secondary → const Color
次要色调 - 主色搭配色 (浅灰色,用于背景等)
success → const Color
成功色
successLight → const Color
成功色 - 浅绿色背景
surface → const Color
表面色
textDisabled → const Color
textPrimary → const Color
文字颜色
textSecondary → const Color
warning → const Color
警告色
warningOrange → const Color
警告色 - 橙色系
warningOrangeDark → const Color
警告深色 - 用于文字等
white → const Color
白色