BaseRenderLayer class abstract
Base class that tracks a single dirty flag.
- Implemented types
- Implementers
Constructors
Properties
- cacheable → bool
-
Whether this layer should be cached as a ui.Picture.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDirty → bool
-
Whether this layer needs to be re-recorded on the next paint.
no setteroverride
- name → String
-
Human-readable name — used for debug logging and profiling.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearDirty(
) → void - Call at the end of paint to clear the dirty flag.
-
markDirty(
) → void -
Mark this layer as dirty — will be re-recorded next frame.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onSizeChanged(
Size size) → void -
Called when canvas
sizechanges so layers can recompute geometry.override -
paint(
Canvas canvas, Size size) → void -
Draw this layer onto
canvas.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited