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
ImageStylesuch asurl().constfactory
Properties
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