OutlineWidth class abstract

The CSS outline-width property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the border.

Read more: MDN outline-width

Constructors

OutlineWidth(Unit unit)
Create an outline width from the given unit.
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
no setter

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 OutlineWidth
initial → const OutlineWidth
medium → const OutlineWidth
Depends on the user agent. Typically equivalent to 3px in desktop browsers.
revert → const OutlineWidth
revertLayer → const OutlineWidth
thick → const OutlineWidth
Depends on the user agent. Typically equivalent to 5px in desktop browsers.
thin → const OutlineWidth
Depends on the user agent. Typically equivalent to 1px in desktop browsers.
unset → const OutlineWidth