FastAnimatedLineGraphCursorPainter constructor

FastAnimatedLineGraphCursorPainter({
  1. required Animation<double> animation,
  2. Color color = Colors.white,
  3. double opacity = 0.25,
  4. double maxRadius = 12,
  5. double minRadius = 6,
})

Implementation

FastAnimatedLineGraphCursorPainter({
  required this.animation,
  this.color = Colors.white,
  this.opacity = 0.25,
  this.maxRadius = 12,
  this.minRadius = 6,
}) : super(repaint: animation) {
  _distance = maxRadius - minRadius;
  _color = color.withOpacity(opacity);
}