BackgroundOrigin enum

The background-origin CSS property sets the background's origin: from the border start, inside the border, or inside the padding.

Inheritance

Constructors

BackgroundOrigin(String value)
const

Values

borderBox → const BackgroundOrigin

The background is positioned relative to the border box.

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

The background is positioned relative to the padding box.

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

The background is positioned relative to the content box.

const BackgroundOrigin('content-box')
inherit → const BackgroundOrigin
const BackgroundOrigin('inherit')
initial → const BackgroundOrigin
const BackgroundOrigin('initial')
revert → const BackgroundOrigin
const BackgroundOrigin('revert')
revertLayer → const BackgroundOrigin
const BackgroundOrigin('revert-layer')
unset → const BackgroundOrigin
const BackgroundOrigin('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<BackgroundOrigin>
A constant List of the values in this enum, in order of their declaration.