fillRect method

  1. @override
void fillRect(
  1. Rect rect, {
  2. String? char,
  3. int? fg,
  4. int? bg,
  5. int? modifiers,
})
override

Fills a rectangular region with the given character and attributes.

Implementation

@override
void fillRect(Rect rect, {String? char, int? fg, int? bg, int? modifiers}) {
  parent.fillRect(
    Rect(bounds.x + rect.x, bounds.y + rect.y, rect.width, rect.height),
    char: char,
    fg: fg,
    bg: bg,
    modifiers: modifiers,
  );
}