Border class

A border of a box, comprised of four sides: top, right, bottom, left.

Inheritance
Implementers

Constructors

Border({BorderSide top = BorderSide.none, BorderSide right = BorderSide.none, BorderSide bottom = BorderSide.none, BorderSide left = BorderSide.none})
const
Border.all({PdfColor color = PdfColors.black, double width = 1.0, BorderStyle style = BorderStyle.solid})
A uniform border with all sides the same color and width.
factory
Border.fromBorderSide(BorderSide side)
Creates a border whose sides are all the same.
const
Border.symmetric({BorderSide vertical = BorderSide.none, BorderSide horizontal = BorderSide.none})
Creates a border with symmetrical vertical and horizontal sides.
const

Properties

bottom BorderSide
final
hashCode int
The hash code for this object.
no setterinherited
isUniform bool
no setteroverride
left BorderSide
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top BorderSide
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Context context, PdfRect box, {BoxShape shape = BoxShape.rectangle, BorderRadius? borderRadius}) → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited