Border class abstract

The border CSS property sets an element's border.

Read more: MDN border

Constructors

Border({BorderStyle? style, Color? color, Unit? width})
const
factory
Border.all({BorderStyle? style, Color? color, Unit? width})
Create a border for all sides.
const
factory
Border.only({BorderSide? left, BorderSide? top, BorderSide? right, BorderSide? bottom})
Create a border with individual sides.
const
factory
Border.symmetric({BorderSide? vertical, BorderSide? horizontal})
Create a border with vertical and horizontal sides.
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
styles Map<String, String>
The css styles
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 Border
initial → const Border
none → const Border
Display no border.
revert → const Border
revertLayer → const Border
unset → const Border