drawPoint abstract method

void drawPoint({
  1. required Position position,
  2. Color? background,
  3. Foreground? foreground,
})

Draws a single point on the canvas.

Colors the terminal cell at position with the specified background and foreground colors.

Implementation

void drawPoint({
  required Position position,
  Color? background,
  Foreground? foreground,
});