DocxCellBorders class
Border configuration for individual table cells.
When set on a cell, these borders override the table-level borders for that specific cell.
Constructors
- DocxCellBorders({DocxBorder? top, DocxBorder? bottom, DocxBorder? left, DocxBorder? right})
-
const
- DocxCellBorders.all({String color = '000000', int size = 4})
-
All borders with default style (single line, black).
const
- DocxCellBorders.bottom({DocxBorder border = const DocxBorder()})
-
Only bottom border (useful for underline-style separators).
const
- DocxCellBorders.none()
-
No borders (explicitly removes borders from this cell).
const
Properties
- bottom → DocxBorder?
-
final
- hasBorders → bool
-
Returns true if any border is defined.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → DocxBorder?
-
final
- right → DocxBorder?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → DocxBorder?
-
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