drawingTable method Null safety

Widget drawingTable(
  1. double widthCM
)

Implementation

Widget drawingTable(double widthCM) => _TableWithDrawing(widthCM, this, [
      row([
        cell(space(0)),
        cell(text('x', align: TextAlign.center)),
        cell(text('y', align: TextAlign.center))
      ]),
      row([
        cell(text('\u279cP',
            box: true,
            align: TextAlign.center,
            boxOffset: const Offset(-.3, -.77))),
        cell(text('r', align: TextAlign.center)),
        cell(text('\u03b8', align: TextAlign.center))
      ]),
      row([
        cell(text('\u279cR',
            box: true,
            align: TextAlign.center,
            boxOffset: const Offset(-.3, -.77))),
        cell(text('x', align: TextAlign.center)),
        cell(text('y', align: TextAlign.center))
      ]),
      row([
        cell(text('x\u0305',
            box: true,
            align: TextAlign.center,
            boxOffset: const Offset(-.37, -.77))),
        cell(text('x\u0305', align: TextAlign.center)),
        cell(text('y\u0305', align: TextAlign.center))
      ]),
      row([
        cell(text('s',
            box: true,
            align: TextAlign.center,
            boxOffset: const Offset(-.37, -.77))),
        cell(list([text('s', align: TextAlign.center), subText('x')])),
        cell(list([text('s', align: TextAlign.center), subText('y')]))
      ]),
      row([
        cell(text('y\u0302,r',
            box: true,
            align: TextAlign.center,
            boxOffset: const Offset(-.37, -.70))),
        cell(text('y\u0302', align: TextAlign.center)),
        cell(text('r', align: TextAlign.center))
      ]),
      row([
        cell(text('L.R.',
            box: true,
            align: TextAlign.center,
            boxOffset: const Offset(-.37, -.77))),
        cell(italicText('B', align: TextAlign.center)),
        cell(italicText('A', align: TextAlign.center))
      ]),
      row([
        cell(list([
          space(0.8),
          text('RCL', box: true, boxOffset: const Offset(-.20, -.77)),
          space(0.1),
          text('\u03a3')
        ])),
        cell(text('\u03a3x', align: TextAlign.center)),
        cell(text(' \u03a3y ', align: TextAlign.center))
      ]),
      row([
        cell(text('%',
            box: true,
            align: TextAlign.center,
            offset: const Offset(0, .1),
            boxOffset: const Offset(-.37, -.70))),
        cell(superimpose([
          text('x \u2219 y',
              scale: 0.6,
              offset: const Offset(0, -2),
              align: TextAlign.center),
          text(('_______'),
              scale: 0.6,
              offset: const Offset(0, -1.7),
              align: TextAlign.center),
          text('100',
              scale: 0.6,
              offset: const Offset(0, 1.2),
              align: TextAlign.center),
        ])),
        cell(text('y', align: TextAlign.center))
      ]),
      row([
        cell(text('\u200a\u0394%',
            box: true,
            offset: const Offset(0, .1),
            boxOffset: const Offset(-.37, -.70),
            align: TextAlign.center)),
        cell(list([
          space(.8),
          superimpose([
            text('x \u2212 y',
                scale: 0.6,
                offset: const Offset(0, -2),
                align: TextAlign.center),
            text(('_______'),
                scale: 0.6,
                offset: const Offset(0, -1.7),
                align: TextAlign.center),
            text('y',
                scale: 0.6,
                offset: const Offset(0, 1.2),
                align: TextAlign.center),
          ]),
          text(' \u00D7 100'),
          space(.8)
        ])),
        cell(text('y', align: TextAlign.center))
      ]),
    ]);