build method
Implementation
@override
Widget build(Context context) {
final width = this.width ?? 16;
final thickness = this.thickness ?? 1;
final indent = this.indent ?? 0;
final endIndent = this.endIndent ?? 0;
final color = this.color ?? PdfColors.black;
final borderStyle = this.borderStyle ?? BorderStyle.solid;
return SizedBox(
width: width,
child: Center(
child: Container(
width: thickness,
margin: EdgeInsets.only(top: indent, bottom: endIndent),
decoration: BoxDecoration(
border: Border(
left: BorderSide(
color: color,
width: thickness,
style: borderStyle,
),
),
),
),
),
);
}