DrawableParent class Null safety

A Drawable that can have child Drawables and DrawableStyle.

Implemented types
Implementers

Constructors

DrawableParent()

Properties

children List<Drawable>?
The child Drawables of this DrawableParent. [...]
read-only
hasDrawableContent bool
Whether this Drawable would be visible if drawn.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
A string that should uniquely identify this Drawable within its DrawableRoot.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style DrawableStyle?
The DrawableStyle for this object.
read-only, inherited
transform Float64List?
The 4x4 transform to apply to this Drawable, if any.
read-only, inherited

Methods

draw(Canvas canvas, Rect bounds) → void
Draws the contents or children of this Drawable to the canvas, using the parentPaint to optionally override the child's paint. [...]
inherited
mergeStyle(DrawableStyle newStyle) DrawableStyleable
Creates an instance with merged style information.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited