DrawableStyleable class abstract
A Drawable that can have a DrawableStyle applied to it.
- Inheritance
- Implementers
- Annotations
Constructors
Properties
- 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 setter
- transform → Float64List?
-
The 4x4 transform to apply to this Drawable, if any.
no setter
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.
-
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