DrawableParent class abstract
A Drawable that can have child Drawables
and DrawableStyle.
- Implemented types
- Implementers
Constructors
Properties
-
children
→ List<
Drawable> ? -
The child
Drawables
of this DrawableParent.no setter - color → Color?
-
The default color used to provide a potential indirect color value
for the
fill
,stroke
andstop-color
of descendant elements.no setter - hasDrawableContent → bool
-
Whether this Drawable would be visible if drawn.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A string that should uniquely identify this Drawable within its DrawableRoot.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → DrawableStyle?
-
The DrawableStyle for this object.
no setterinherited
- transform → Float64List?
-
The 4x4 transform to apply to this Drawable, if any.
no setterinherited
Methods
-
draw(
Canvas canvas, Rect bounds) → void -
Draws the contents or children of this Drawable to the
canvas
, using theparentPaint
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited