Border class

Describes a border made of box-drawing characters for each side.

Empty strings mean no border on that side. Use Border.all for a full box border, or Border.symmetric for horizontal/vertical patterns.

Constructors

Border({String top = '', String right = '', String bottom = '', String left = ''})
const
Border.only({String? top, String? right, String? bottom, String? left})
factory
Border.symmetric({required String horizontal, required String vertical})
factory

Properties

bottom String
final
hashCode int
The hash code for this object.
no setterinherited
left String
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top String
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

all → const Border
none → const Border