FastPieGraphAppBarPainter constructor

FastPieGraphAppBarPainter({
  1. Color backgroundColor = Colors.white,
  2. Color borderColor = Colors.white,
  3. double backgroundOpacity = 1.0,
  4. double borderOpacity = 1.0,
  5. double borderWidth = 1.0,
})

Implementation

FastPieGraphAppBarPainter({
  this.backgroundColor = Colors.white,
  this.borderColor = Colors.white,
  this.backgroundOpacity = 1.0,
  this.borderOpacity = 1.0,
  this.borderWidth = 1.0,
}) {
  _backgroundColor = backgroundColor.withOpacity(backgroundOpacity);
  _borderColor = borderColor.withOpacity(borderOpacity);
  _sweepAngle = pi / 2;
}