Border class

A solid border around a box.

BoxDecoration(border: Border.all(color: Colors.grey));

Constructors

Border.all({num width = 1, Color color = Colors.black})
Creates a solid border.
const

Properties

color → Color
Border color.
final
css → String
CSS border declaration.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → num
Border width in logical pixels.
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