buildControls method
A control the canvas floats over everything it draws, such as a zoom
chip or a minimap. Observe the host's controller and canvas state inside
an Observer; position it in the canvas with a Positioned or an
Align in a Positioned.fill.
Controls are the canvas's last layer: they are painted after the
diagram, every extension overlay (build) and the host's
DiagramCanvas.overlay, and they take a press before any of them, so
no selection frame, port, drop mark or guide ever lies over a control
or takes its press. Where a control draws nothing, a press goes through
to the layers below.
Implementation
Widget buildControls(BuildContext context, DiagramCanvasExtensionHost host) =>
const SizedBox.shrink();