ImageBackgroundDrawable class
Drawable to use an image as a background.
- Inheritance
-
- Object
- Drawable
- BackgroundDrawable
- ImageBackgroundDrawable
- Annotations
Constructors
- ImageBackgroundDrawable({required Image image})
- Creates a ImageBackgroundDrawable to use an image as a background.
Properties
Methods
-
draw(
Canvas canvas, Size size) → void -
Draws the image on the provided
canvas
of sizesize
.override -
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