TableBorder class

Inheritance

Constructors

TableBorder({BorderSide left = BorderSide.none, BorderSide top = BorderSide.none, BorderSide right = BorderSide.none, BorderSide bottom = BorderSide.none, BorderSide horizontalInside = BorderSide.none, BorderSide verticalInside = BorderSide.none})
Creates a border for a table.
const
TableBorder.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
TableBorder.symmetric({BorderSide inside = BorderSide.none, BorderSide outside = BorderSide.none})
Creates a border for a table where all the interior sides use the same styling and all the exterior sides use the same styling.
factory

Properties

bottom BorderSide
finalinherited
hashCode int
The hash code for this object.
no setterinherited
horizontalInside BorderSide
final
isUniform bool
no setterinherited
left BorderSide
finalinherited
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top BorderSide
finalinherited
verticalInside 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
inherited
paintTable(Context context, PdfRect box, [List<double?>? widths, List<double>? heights]) → void
toString() String
A string representation of this object.
inherited

Operators

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