LegacyInternalPlasmaCompute constructor

LegacyInternalPlasmaCompute({
  1. required Size canvasSize,
  2. required double circleSize,
  3. required double offset,
  4. required double value,
})

Implementation

LegacyInternalPlasmaCompute({
  required this.canvasSize,
  required this.circleSize,
  required this.offset,
  required this.value,
}) : _radius = (circleSize * (canvasSize.width + canvasSize.height) / 2 / 3)
          .roundToDouble();