BackgroundImage class

The background-image CSS property sets one or more background images on an element. It accepts images (url()), gradients, and the keyword none.

Read more: MDN background-image

Constructors

BackgroundImage.image(ImageStyle image)
Create a background image from an ImageStyle such as url().
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The css value
final

Methods

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

Constants

inherit → const BackgroundImage
initial → const BackgroundImage
none → const BackgroundImage
No background image (CSS none).
revert → const BackgroundImage
revertLayer → const BackgroundImage
unset → const BackgroundImage