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
-
- Object
- GlassProxyPainter
- SolidProxyPainter
Constructors
- SolidProxyPainter(Color color)
-
A stub that fills the subtree's box with
color.const
Properties
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 inCustomPainter.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