debugPaint method Null safety

  1. @override
void debugPaint(
  1. PaintingContext context,
  2. Offset offset
)
override

Override this method to paint debugging information.

Implementation

@override
void debugPaint(PaintingContext context, Offset offset) {
  assert(() {
    if (debugPaintSizeEnabled) {
      debugPaintSize(context, offset);
    }
    if (debugPaintBaselinesEnabled) {
      debugPaintBaselines(context, offset);
    }
    if (debugPaintPointersEnabled) {
      debugPaintPointers(context, offset);
    }
    return true;
  }());
}