ComicColors class

Colours. Grounds first, then what stands on them.

Mixed-in types
Available extensions
Annotations

Constructors

ComicColors({ComicTones? status, required Brightness brightness, required Color background, required Color grain, required Color card, required Color inset, required Color outline, required Color text, required Color textSecondary, required Color divider, required Color caption, required Color onCaption, required Color primary, required Color onPrimary, required Color primaryText, required Color primaryLargeText, required Color currentUserTint, required Color shade, required Color onShade, required Color shadeText, required Color shadeTint, required Color drama, required Color paper, required Color onPaper, required Color onPaperSecondary, required Color control, required Color hint, required Color track, required Color unlit, required List<Color> series, required Color dotTint, required Color currentUserDot, required Color lampDot, required Color cover, required Color coverRay, required Color coverDot, required Color coverDotSecondary, required Color head, required Color headRing, required Color currentUserHead, required Color currentUserHeadRing, required Color monogramSecondary, required Color monogramTertiary, required Color art1, required Color art2, required Color art3, required Color art4, required Color artDot, required Color art4Dot, required Color nightLine, required Color sky, required Color skyDot, required Color sun, required Color sunDot, required Color hill, required Color lake, required Color lakeDot, required Color pine, required Color snow, required Color flake, required Color window, required Color smoke, required Color wood, required Color chili, required Color check, required Color shadow, required Color potDot, required Color amber, required Color ray, required Color highlight})
Creates a ComicColors.
const

Properties

amber → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
art1 → Color
The four art grounds behind a drawing, and the dots laid over them.
final
art2 → Color
The four art grounds behind a drawing, and the dots laid over them.
final
art3 → Color
The four art grounds behind a drawing, and the dots laid over them.
final
art4 → Color
The four art grounds behind a drawing, and the dots laid over them.
final
art4Dot → Color
The four art grounds behind a drawing, and the dots laid over them.
final
artDot → Color
The four art grounds behind a drawing, and the dots laid over them.
final
background → Color
Newsprint or the black gutter; its grain; a panel's fill; a quiet well inside a panel.
final
brightness → Brightness
Whether these colours are for a light page or a dark one, as ThemeData.brightness.
final
caption → Color
The narrator's lamp: captions, the hero burst, today, the leader. onCaption is the letters on it.
final
card → Color
Newsprint or the black gutter; its grain; a panel's fill; a quiet well inside a panel.
final
check → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
chili → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
control → Color
A control's fill (paper at night, the lit thing); hint the words waiting in a field.
final
cover → Color
The cover: its ground, the action lines and its two halftones.
final
coverDot → Color
The cover: its ground, the action lines and its two halftones.
final
coverDotSecondary → Color
The cover: its ground, the action lines and its two halftones.
final
coverRay → Color
The cover: its ground, the action lines and its two halftones.
final
currentUserDot → Color
The dots of a shaded panel, and of a panel that's yours.
final
currentUserHead → Color
A small head's fill and ring, plain and yours; a monogram's other two fills.
final
currentUserHeadRing → Color
A small head's fill and ring, plain and yours; a monogram's other two fills.
final
currentUserTint → Color
You, and the thing to press. primary is the fill and onPrimary its letters; primaryText is the same meaning as words on a panel; currentUserTint is the pale ground of what's yours.
final
dark → bool

Available on ComicColors, provided by the ComicDarkPage extension

Whether these are the night colours.
no setter
divider → Color
Words on a panel; quieter words; the hairline between rows.
final
dotTint → Color
The dots of a shaded panel, and of a panel that's yours.
final
drama → Color
Drama: the burst's back plate and sound effects. Large or outlined only, and never a status colour.
final
flake → Color
Scene inks.
final
grain → Color
Newsprint or the black gutter; its grain; a panel's fill; a quiet well inside a panel.
final
hashCode → int
The hash code for this object.
no setteroverride
A small head's fill and ring, plain and yours; a monogram's other two fills.
final
headRing → Color
A small head's fill and ring, plain and yours; a monogram's other two fills.
final
highlight → Color
Whether this entry is emphasized.
final
hill → Color
Scene inks.
final
hint → Color
A control's fill (paper at night, the lit thing); hint the words waiting in a field.
final
inset → Color
Newsprint or the black gutter; its grain; a panel's fill; a quiet well inside a panel.
final
lake → Color
Scene inks.
final
lakeDot → Color
Scene inks.
final
lampDot → Color
The drama's dots where they stand on the lamp: a lead bar's fill, the month that's now.
final
monogramSecondary → Color
A small head's fill and ring, plain and yours; a monogram's other two fills.
final
monogramTertiary → Color
A small head's fill and ring, plain and yours; a monogram's other two fills.
final
nightLine → Color
A loose line that must read on a night ground: the contour by day, the lit colour at night.
final
onCaption → Color
The narrator's lamp: captions, the hero burst, today, the leader. onCaption is the letters on it.
final
onPaper → Color
Balloons, corner boxes, stamps: paper at any hour. onPaper and onPaperSecondary are the words on it.
final
onPaperSecondary → Color
Balloons, corner boxes, stamps: paper at any hour. onPaper and onPaperSecondary are the words on it.
final
onPrimary → Color
You, and the thing to press. primary is the fill and onPrimary its letters; primaryText is the same meaning as words on a panel; currentUserTint is the pale ground of what's yours.
final
onShade → Color
The group and the halftone: bars, links, cover. onShade is letters on it; shadeText the same meaning as words.
final
outline → Color
The contour. By day it reads everywhere. At night it's black, the edge of a lit fill: a control at night reads by its fill (control), not by this line.
final
paper → Color
Balloons, corner boxes, stamps: paper at any hour. onPaper and onPaperSecondary are the words on it.
final
pine → Color
Scene inks.
final
potDot → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
primary → Color
You, and the thing to press. primary is the fill and onPrimary its letters; primaryText is the same meaning as words on a panel; currentUserTint is the pale ground of what's yours.
final
primaryLargeText → Color
You, as big lettering: stays lit on dots, where primaryText gives way to the ink. Large type only, its bar is 3.
final
primaryText → Color
You, and the thing to press. primary is the fill and onPrimary its letters; primaryText is the same meaning as words on a panel; currentUserTint is the pale ground of what's yours.
final
ray → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrim → Color
The backdrop dims the page behind the open surface in either edition.
no setter
series → List<Color>
A chart's own inks, in order: a pie's slices and its key. Each reads on the page and stands apart from the others. At night the quiet ones are lit (a grey, the act's pale, paper) where the day's would sink into the dark.
final
shade → Color
The group and the halftone: bars, links, cover. onShade is letters on it; shadeText the same meaning as words.
final
shadeText → Color
The group and the halftone: bars, links, cover. onShade is letters on it; shadeText the same meaning as words.
final
shadeTint → Color
The group and the halftone: bars, links, cover. onShade is letters on it; shadeText the same meaning as words.
final
shadow → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
sky → Color
Scene inks.
final
skyDot → Color
Scene inks.
final
smoke → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
snow → Color
Scene inks.
final
status → ComicTones?
Custom semantic inks; null uses the appearance defaults.
final
sun → Color
Scene inks.
final
sunDot → Color
Scene inks.
final
text → Color
Words on a panel; quieter words; the hairline between rows.
final
textSecondary → Color
Words on a panel; quieter words; the hairline between rows.
final
tones → ComicTones
Semantic status inks on the current panel ground.
no setter
track → Color
An empty bar's ground.
final
unlit → Color
A mark not lit: a step not reached, a cell not begun. By day the well inside its contour; at night the contour is lost in the dark, so it's a lit grey that reads by itself, with onPaper letters.
final
window → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final
wood → Color
window: the adaptive window classification. smoke: the smoke ink used by the drawing. wood: the wood ink used by the drawing. chili: the chili ink used by the drawing. check: whether to show the completion check. shadow: the ink color of the lettering's hard offset impression. potDot: the pot dot ink used by the drawing. amber: the amber ink used by the drawing. ray: the ray ink used by the drawing.
final

Methods

artGround(int background) → Color
The art ground, 1 to 4.
copyWith({ComicTones? status, Brightness? brightness, Color? background, Color? grain, Color? card, Color? inset, Color? outline, Color? text, Color? textSecondary, Color? divider, Color? caption, Color? onCaption, Color? primary, Color? onPrimary, Color? primaryText, Color? primaryLargeText, Color? currentUserTint, Color? shade, Color? onShade, Color? shadeText, Color? shadeTint, Color? drama, Color? paper, Color? onPaper, Color? onPaperSecondary, Color? control, Color? hint, Color? track, Color? unlit, List<Color>? series, Color? dotTint, Color? currentUserDot, Color? lampDot, Color? cover, Color? coverRay, Color? coverDot, Color? coverDotSecondary, Color? head, Color? headRing, Color? currentUserHead, Color? currentUserHeadRing, Color? monogramSecondary, Color? monogramTertiary, Color? art1, Color? art2, Color? art3, Color? art4, Color? artDot, Color? art4Dot, Color? nightLine, Color? sky, Color? skyDot, Color? sun, Color? sunDot, Color? hill, Color? lake, Color? lakeDot, Color? pine, Color? snow, Color? flake, Color? window, Color? smoke, Color? wood, Color? chili, Color? check, Color? shadow, Color? potDot, Color? amber, Color? ray, Color? highlight}) → ComicColors
Copies the palette, replacing only supplied roles.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sfxOn(int background) → Color
A sound effect's fill on an art ground, 1 to 4: drama where it shows, the lamp or paper where it wouldn't.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

lerp(ComicColors a, ComicColors b, double t) → ComicColors
Between a and b: every colour blends; the appearance flips at the middle.