debugInstrumentRepaintCompositedChild method Null safety
- RenderObject child,
- {bool debugAlsoPaintedParent = false,
- required PaintingContext customContext}
In debug mode, repaint the given render object using a custom painting context that can record the results of the painting operation in addition to performing the regular paint of the child.
See also:
- repaintCompositedChild, for repainting a composited child without instrumentation.
Implementation
static void debugInstrumentRepaintCompositedChild(
  RenderObject child, {
  bool debugAlsoPaintedParent = false,
  required PaintingContext customContext,
}) {
  assert(() {
    _repaintCompositedChild(
      child,
      debugAlsoPaintedParent: debugAlsoPaintedParent,
      childContext: customContext,
    );
    return true;
  }());
}