paintDecoration method

  1. @override
void paintDecoration(
  1. PaintingContext context,
  2. Offset offset,
  3. PaintingContextCallback callback
)
override

Implementation

@override
void paintDecoration(PaintingContext context, Offset offset, PaintingContextCallback callback) {
  if (_shouldPaintNegativeZIndexChildrenUnderBackground()) {
    _paintNegativeZIndexChildrenUnderBackground(context, offset);
  }
  super.paintDecoration(context, offset, callback);
}