ModalPainter constructor

ModalPainter({
  1. required Color color,
  2. double radius = 40,
  3. double vRadiusRatio = 0.8,
  4. double hRadiusRatio = 1,
  5. double vHandleRatio = 0.5,
  6. double hHandleRatio = 0.8,
  7. bool useCubicInterpolation = true,
})

Implementation

ModalPainter({
  required this.color,
  this.radius = 40,
  this.vRadiusRatio = 0.8,
  this.hRadiusRatio = 1,
  this.vHandleRatio = 0.5,
  this.hHandleRatio = 0.8,
  this.useCubicInterpolation = true,
});