paint method Null safety

  1. @mustCallSuper
void paint(
  1. Context context
)

Draw itself and its children, according to the calculated box.offset

Implementation

@mustCallSuper
void paint(Context context) {
  assert(() {
    if (Document.debug) {
      debugPaint(context);
    }
    return true;
  }());
}