ApperoColors class

Color palette for Appero SDK themes.

Defines the colors used throughout the feedback UI. All colors are WCAG 2.2 AA compliant with proper contrast ratios.

Constructors

ApperoColors({required Color surface, required Color onSurface, required Color onSurfaceVariant, required Color primary, required Color onPrimary, Color? textFieldBackground, Color? cursor})
const

Properties

cursor Color?
Optional text input cursor color override.
final
hashCode int
The hash code for this object.
no setterinherited
onPrimary Color
Text color displayed on primary color
final
onSurface Color
Primary text color displayed on the surface
final
onSurfaceVariant Color
Secondary text color for less prominent elements
final
primary Color
Primary action color (e.g., submit button background)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surface Color
Background color of the feedback UI
final
textFieldBackground Color?
Optional text field background color override.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts this color palette to a map for platform channel communication Deliberately using deprecated methods to avoid breaking changes
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited