FastLineGraphAppBarPainter constructor

FastLineGraphAppBarPainter({
  1. Color backgroundColor = Colors.white,
  2. Color borderColor = Colors.white,
  3. Color cursorColor = Colors.white,
  4. double backgroundOpacity = 1.0,
  5. double cursorOpacity = 0.75,
  6. double borderOpacity = 1.0,
  7. double cursorRadius = 6.0,
})

Implementation

FastLineGraphAppBarPainter({
  this.backgroundColor = Colors.white,
  this.borderColor = Colors.white,
  this.cursorColor = Colors.white,
  this.backgroundOpacity = 1.0,
  this.cursorOpacity = 0.75,
  this.borderOpacity = 1.0,
  this.cursorRadius = 6.0,
}) {
  _backgroundColor = backgroundColor.withOpacity(backgroundOpacity);
  _borderColor = borderColor.withOpacity(borderOpacity);
  _cursorColor = cursorColor.withOpacity(cursorOpacity);
}