InteractiveTooltip constructor

const InteractiveTooltip({
  1. bool enable = true,
  2. Color? color,
  3. Color? borderColor,
  4. double borderWidth = 0,
  5. double borderRadius = 5,
  6. double arrowLength = 7,
  7. double arrowWidth = 5,
  8. String? format,
  9. Color? connectorLineColor,
  10. double connectorLineWidth = 1.5,
  11. List<double>? connectorLineDashArray,
  12. int decimalPlaces = 3,
  13. bool canShowMarker = true,
  14. TextStyle? textStyle,
})

Creating an argument constructor of InteractiveTooltip class.

Implementation

const InteractiveTooltip(
    {this.enable = true,
    this.color,
    this.borderColor,
    this.borderWidth = 0,
    this.borderRadius = 5,
    this.arrowLength = 7,
    this.arrowWidth = 5,
    this.format,
    this.connectorLineColor,
    this.connectorLineWidth = 1.5,
    this.connectorLineDashArray,
    this.decimalPlaces = 3,
    this.canShowMarker = true,
    this.textStyle});