Drawable class abstract

Base interface for vector drawing.

Implementers
Annotations

Constructors

Drawable()

Properties

hasDrawableContent bool
Whether this Drawable would be visible if drawn.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
A string that should uniquely identify this Drawable within its DrawableRoot.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
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