AbstractLinearPainter constructor

AbstractLinearPainter(
  1. BuildContext _context,
  2. int _percent, {
  3. double? width,
  4. ShapeConfiguration? defaultConfiguration,
  5. ShapeConfiguration? valueConfiguration,
})

Implementation

AbstractLinearPainter(this._context, this._percent,
    {this.width, ShapeConfiguration? defaultConfiguration, ShapeConfiguration? valueConfiguration}) {
  this.defaultConfiguration = defaultConfiguration ?? DefaultLinearConfiguration();
  this.valueConfiguration = valueConfiguration ?? ValueLinearConfiguration();
}