Char constructor

const Char(
  1. int charCode, [
  2. Color? foreground,
  3. Color? background
])

Implementation

const Char(this.charCode, [Color? foreground, Color? background])
    : foreground = foreground ?? Color.white,
      background = background ?? Color.black;