SunnyColorData class

Implementation of color spec.

Implemented types
Mixed-in types
Available extensions

Constructors

SunnyColorData({required Brightness brightness, required CupertinoDynamicColor white, required CupertinoDynamicColor primaryColor, required CupertinoDynamicColor linkColor, required CupertinoDynamicColor red, required CupertinoDynamicColor g50, required CupertinoDynamicColor g100, required CupertinoDynamicColor g200, required CupertinoDynamicColor g300, required CupertinoDynamicColor g400, required CupertinoDynamicColor g500, required CupertinoDynamicColor g600, required CupertinoDynamicColor g700, required CupertinoDynamicColor g800, required CupertinoDynamicColor g900, required CupertinoDynamicColor black, required CupertinoDynamicColor iconDark, required CupertinoDynamicColor shadow, required CupertinoDynamicColor appBarBackground, required CupertinoDynamicColor placeholder, required CupertinoDynamicColor inputBackground, required CupertinoDynamicColor scaffoldBackground, required CupertinoDynamicColor modalBackground, required CupertinoDynamicColor inputBorder, required CupertinoDynamicColor headerLink, required CupertinoDynamicColor separator, required CupertinoDynamicColor text, required CupertinoDynamicColor textLight, required Color barrierColor})
const

Properties

appBarBackground CupertinoDynamicColor
final
barrierColor Color
final
black CupertinoDynamicColor
final
brightness Brightness
The currently resolved brightness of this color set.
final
g100 CupertinoDynamicColor
final
g200 CupertinoDynamicColor
final
g300 CupertinoDynamicColor
final
g400 CupertinoDynamicColor
final
g50 CupertinoDynamicColor
final
g500 CupertinoDynamicColor
final
g600 CupertinoDynamicColor
final
g700 CupertinoDynamicColor
final
g800 CupertinoDynamicColor
final
g900 CupertinoDynamicColor
final
hashCode int
The hash code for this object.
no setterinherited
final
iconDark CupertinoDynamicColor
final
iconDisabled CupertinoDynamicColor

Available on SunnyColors, provided by the SunnyColorExt extension

no setter
inputBackground CupertinoDynamicColor
final
inputBorder CupertinoDynamicColor
final
linkColor CupertinoDynamicColor
final
modalBackground CupertinoDynamicColor
final
placeholder CupertinoDynamicColor
final
primaryColor CupertinoDynamicColor
final
red CupertinoDynamicColor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaffoldBackground CupertinoDynamicColor
final
separator CupertinoDynamicColor
final
shadow CupertinoDynamicColor
final
text CupertinoDynamicColor
final
textLight CupertinoDynamicColor
final
white CupertinoDynamicColor
final

Methods

copyWith({CupertinoDynamicColor? white, CupertinoDynamicColor? primaryColor, CupertinoDynamicColor? linkColor, CupertinoDynamicColor? red, CupertinoDynamicColor? g50, CupertinoDynamicColor? g100, CupertinoDynamicColor? g200, CupertinoDynamicColor? g300, CupertinoDynamicColor? g400, CupertinoDynamicColor? g500, CupertinoDynamicColor? g600, CupertinoDynamicColor? g700, CupertinoDynamicColor? g800, CupertinoDynamicColor? g900, CupertinoDynamicColor? black, CupertinoDynamicColor? iconDark, CupertinoDynamicColor? shadow, CupertinoDynamicColor? appBarBackground, CupertinoDynamicColor? placeholder, CupertinoDynamicColor? inputBackground, CupertinoDynamicColor? scaffoldBackground, CupertinoDynamicColor? modalBackground, CupertinoDynamicColor? inputBorder, CupertinoDynamicColor? headerLink, CupertinoDynamicColor? separator, CupertinoDynamicColor? text, CupertinoDynamicColor? textLight, Color? barrierColor}) SunnyColorData
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(BuildContext context) SunnyColors
Resolves all colors against this BuildContext and returns an immutable copy of the color data
inherited
toString() String
A string representation of this object.
inherited

Operators

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