SolidProxyPainter class Capture control

A stub of one flat colour — the cheapest thing that stands for a subtree.

Opaque, and so an occlusion cover too, when color is.

Inheritance

Constructors

SolidProxyPainter(Color color)
A stub that fills the subtree's box with color.
const

Properties

color → Color
The fill. A change repaints the proxy.
final
hashCode → int
The hash code for this object.
no setterinherited
isOpaque → bool
Whether paint covers the whole of size opaquely.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size) → void
Paints the stand-in. Local space: the subtree's origin is Offset.zero, exactly as in CustomPainter.
override
shouldRepaint(covariant SolidProxyPainter oldPainter) → bool
Whether the proxy has to be re-recorded because this painter replaced oldPainter.
override
toString() → String
A string representation of this object.
inherited

Operators

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