SpecBackdrop class final

Inheritance

Constructors

SpecBackdrop({required BackgroundSpec spec, required Color surface, double patternFade = 1})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isPlain → bool
Whether this paints anything beyond a flat colour.
no setter
patternFade → double
Extra opacity on the pattern, 0–1: a theme transition cross-fades one pattern out and the next in without re-rasterising the pattern tile.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → BackgroundSpec
What to paint.
final
surface → Color
The palette surface (part of equality; the text area now shows the un-patterned background instead).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
painter({Rect? textSafeArea, Rect? toolbarExclusion, bool reduceMotion = false}) → BackgroundPainter
A painter filling the whole calculator surface. Inside textSafeArea (the display text) it keeps the display legible: a solid surface behind the text, no pattern. Scene art in the toolbar row keeps clear of toolbarExclusion (the mode button). With reduceMotion any drift is frozen.
override
toString() → String
A string representation of this object.
inherited

Operators

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