legendthree method

Container legendthree()

Implementation

pw.Container legendthree() {
  return pw.Container(
    margin: const pw.EdgeInsets.fromLTRB(55, 10, 10, 10),
    child: pw.Row(children: [
      pw.Container(
          width: 12,
          height: 12,
          decoration: const pw.BoxDecoration(
              color: PdfColors.green, shape: pw.BoxShape.circle)),
      pw.Container(
          width: 100,
          alignment: pw.Alignment.topLeft,
          padding: pw.EdgeInsets.only(left: 3),
          child: pw.Text(Constant.recovery[0])),
      pw.SizedBox(width: 30),
      pw.Container(
          width: 12,
          height: 12,
          decoration: const pw.BoxDecoration(
              color: PdfColors.lightGreen500, shape: pw.BoxShape.circle)),
      pw.Container(
          width: 100,
          alignment: pw.Alignment.topLeft,
          padding: pw.EdgeInsets.only(left: 3),
          child: pw.Text(Constant.recovery[1])),
      pw.SizedBox(width: 30),
      pw.Container(
          width: 12,
          height: 12,
          decoration: pw.BoxDecoration(
              color: PdfColor.fromHex("#D3D3D3"), shape: pw.BoxShape.circle)),
      pw.Container(
          width: 90,
          alignment: pw.Alignment.topLeft,
          padding: pw.EdgeInsets.only(left: 3),
          child: pw.Text(Constant.recovery[2])),
    ]),
  );
}