LavaPainter constructor

LavaPainter({
  1. required Animation<double> animation,
  2. required LavaPainterData data,
})

Creates a LavaPainter object.

This is the painter for animating blobs moving around the screen like a lava lamp.

Implementation

LavaPainter({
  required super.animation,
  required this.data,
}) : super(repaint: animation);