paintStack method Null safety

  1. @protected
void paintStack(
  1. PaintingContext context,
  2. Offset offset

Override in subclasses to customize how the stack paints.

By default, the stack uses defaultPaint. This function is called by paint after potentially applying a clip to contain visual overflow.


void paintStack(PaintingContext context, Offset offset) {
  defaultPaint(context, offset);