CssBackgroundImage class sealed

CSS background-image property values.

Implemented types

Constructors

CssBackgroundImage.global(CssGlobal global)
Global keyword (inherit, initial, unset, revert).
factory
CssBackgroundImage.linearGradient({CssGradientDirection? direction, required List<CssGradientStop> stops, bool repeating})
Linear gradient.
factory
CssBackgroundImage.list(List<CssBackgroundImage> images)
Multiple background images.
factory
CssBackgroundImage.radialGradient({CssRadialShape? shape, CssRadialSize? size, CssBackgroundPosition? position, required List<CssGradientStop> stops, bool repeating})
Radial gradient.
factory
CssBackgroundImage.raw(String value)
Raw CSS value escape hatch.
factory
CssBackgroundImage.url(String url)
URL image.
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCss() String
Converts this value to its CSS string representation.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

none → const CssBackgroundImage
none keyword.