SunnyColors class abstract
- Implementers
- Available extensions
Constructors
- SunnyColors({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})
-
constfactory
- SunnyColors.defaults()
-
factory
Properties
- appBarBackground → CupertinoDynamicColor
-
no setter
- barrierColor → Color
-
no setter
- black → CupertinoDynamicColor
-
no setter
- brightness → Brightness
-
The currently resolved brightness of this color set.
no setter
- g100 → CupertinoDynamicColor
-
no setter
- g200 → CupertinoDynamicColor
-
no setter
- g300 → CupertinoDynamicColor
-
no setter
- g400 → CupertinoDynamicColor
-
no setter
- g50 → CupertinoDynamicColor
-
no setter
- g500 → CupertinoDynamicColor
-
no setter
- g600 → CupertinoDynamicColor
-
no setter
- g700 → CupertinoDynamicColor
-
no setter
- g800 → CupertinoDynamicColor
-
no setter
- g900 → CupertinoDynamicColor
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerLink → CupertinoDynamicColor
-
no setter
- iconDark → CupertinoDynamicColor
-
no setter
- iconDisabled → CupertinoDynamicColor
-
Available on SunnyColors, provided by the SunnyColorExt extension
no setter - inputBackground → CupertinoDynamicColor
-
no setter
- inputBorder → CupertinoDynamicColor
-
no setter
- linkColor → CupertinoDynamicColor
-
no setter
- modalBackground → CupertinoDynamicColor
-
no setter
- placeholder → CupertinoDynamicColor
-
no setter
- primaryColor → CupertinoDynamicColor
-
no setter
- red → CupertinoDynamicColor
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaffoldBackground → CupertinoDynamicColor
-
no setter
- separator → CupertinoDynamicColor
-
no setter
- shadow → CupertinoDynamicColor
-
no setter
- text → CupertinoDynamicColor
-
no setter
- textLight → CupertinoDynamicColor
-
no setter
- white → CupertinoDynamicColor
-
no setter
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}) → SunnyColors -
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
[SunnyColors? color]) → void -
resolveBrightness(
BuildContext context) → SunnyColors - Given a brightness, resolves colors against it