BorderStyle enum

Keywords for the visual style of borders (e.g. dotted, solid, double).

Read more: MDN border-style

Inheritance
Available extensions

Values

none → const BorderStyle

Like the hidden keyword, displays no border.

const BorderStyle('none')
hidden → const BorderStyle

Like the none keyword, displays no border.

const BorderStyle('hidden')
dotted → const BorderStyle

Displays a series of rounded dots. The spacing of the dots is not defined by the specification and is implementation-specific. The radius of the dots is half the computed value of the same side's border-width.

const BorderStyle('dotted')
dashed → const BorderStyle

Displays a series of short square-ended dashes or line segments. The exact size and length of the segments are not defined by the specification and are implementation-specific.

const BorderStyle('dashed')
solid → const BorderStyle

Displays a single, straight, solid line.

const BorderStyle('solid')
double → const BorderStyle

Displays two straight lines that add up to the pixel size defined by border-width.

const BorderStyle('double')
groove → const BorderStyle

Displays a border with a carved appearance. It is the opposite of ridge.

const BorderStyle('groove')
ridge → const BorderStyle

Displays a border with an extruded appearance. It is the opposite of groove.

const BorderStyle('ridge')
inset → const BorderStyle

Displays a border that makes the element appear embedded. It is the opposite of outset.

const BorderStyle('inset')
outset → const BorderStyle

Displays a border that makes the element appear embossed. It is the opposite of inset.

const BorderStyle('outset')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<BorderStyle>
A constant List of the values in this enum, in order of their declaration.