debugInstrumentRepaintCompositedChild method

void debugInstrumentRepaintCompositedChild (
  1. RenderObject child,
  2. {bool debugAlsoPaintedParent: false,
  3. @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:


static void debugInstrumentRepaintCompositedChild(
  RenderObject child, {
  bool debugAlsoPaintedParent = false,
  @required PaintingContext customContext,
}) {
  assert(() {
      debugAlsoPaintedParent: debugAlsoPaintedParent,
      childContext: customContext,
    return true;