BackgroundClip enum

The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.

Inheritance

Constructors

BackgroundClip(String value)
const

Values

borderBox → const BackgroundClip

The background extends to the outside edge of the border (but underneath the border in z-ordering).

const BackgroundClip('border-box')
paddingBox → const BackgroundClip

The background extends to the outside edge of the padding. No background is drawn beneath the border.

const BackgroundClip('padding-box')
contentBox → const BackgroundClip

The background is painted within (clipped to) the content box.

const BackgroundClip('content-box')
text → const BackgroundClip

The background is painted within (clipped to) the foreground text.

const BackgroundClip('text')
inherit → const BackgroundClip
const BackgroundClip('inherit')
initial → const BackgroundClip
const BackgroundClip('initial')
revert → const BackgroundClip
const BackgroundClip('revert')
revertLayer → const BackgroundClip
const BackgroundClip('revert-layer')
unset → const BackgroundClip
const BackgroundClip('unset')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

values → const List<BackgroundClip>
A constant List of the values in this enum, in order of their declaration.