legendShape method
Implementation
Widget legendShape(Context context) {
return Container(
decoration: BoxDecoration(
color: color,
border: Border.all(
color: borderColor ?? PdfColors.black,
width: borderWidth,
),
),
);
}