BackgroundLayer class
Properties
-
cacheable
→ bool
-
Whether this layer should be cached as a ui.Picture.
no setterinherited
-
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 setterinherited
-
name
→ String
-
Human-readable name — used for debug logging and profiling.
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
theme
→ ChartTheme
-
final
Methods
-
clearDirty()
→ void
-
Call at the end of paint to clear the dirty flag.
inherited
-
markDirty()
→ void
-
Mark this layer as dirty — will be re-recorded next frame.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onSizeChanged(Size size)
→ void
-
Called when canvas
size changes so layers can recompute geometry.
inherited
-
paint(Canvas canvas, Size size)
→ void
-
Draw this layer onto
canvas.
override
-
toString()
→ String
-
A string representation of this object.
inherited