FUIPalette class

Inheritance
Annotations

Constructors

FUIPalette({required Color primary, required Color primaryHover, required Color primaryPressed, required Color primarySoft, required Color primarySubtle, required Color background, required Color backgroundAlt, required Color surface, required Color surfaceAlt, required Color surfacePressed, required Color border, required Color borderStrong, required Color textPrimary, required Color textSecondary, required Color textTertiary, required Color textDisabled, required Color textInverse, required Color success, required Color successSoft, required Color warning, required Color warningSoft, required Color danger, required Color dangerHover, required Color dangerSoft, required Color info, required Color infoSoft})
const

Properties

background Color
final
backgroundAlt Color
final
border Color
final
borderStrong Color
final
danger Color
final
dangerHover Color
final
dangerSoft Color
final
hashCode int
The hash code for this object.
no setterinherited
info Color
final
infoSoft Color
final
primary Color
final
primaryHover Color
final
primaryPressed Color
final
primarySoft Color
final
primarySubtle Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success Color
final
successSoft Color
final
surface Color
final
surfaceAlt Color
final
surfacePressed Color
final
textDisabled Color
final
textInverse Color
final
textPrimary Color
final
textSecondary Color
final
textTertiary Color
final
type Object
The extension's type.
no setterinherited
warning Color
final
warningSoft Color
final

Methods

copyWith({Color? primary, Color? primaryHover, Color? primaryPressed, Color? primarySoft, Color? primarySubtle, Color? background, Color? backgroundAlt, Color? surface, Color? surfaceAlt, Color? surfacePressed, Color? border, Color? borderStrong, Color? textPrimary, Color? textSecondary, Color? textTertiary, Color? textDisabled, Color? textInverse, Color? success, Color? successSoft, Color? warning, Color? warningSoft, Color? danger, Color? dangerHover, Color? dangerSoft, Color? info, Color? infoSoft}) FUIPalette
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<FUIPalette>? other, double t) FUIPalette
Linearly interpolate with another ThemeExtension object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withAccent({required Color primary, required Color primaryHover, required Color primaryPressed, required Color primarySoft, required Color primarySubtle}) FUIPalette

Operators

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

Static Methods

of(BuildContext context) FUIPalette