InteractiveTooltip constructor
const
InteractiveTooltip({
- bool enable = true,
- Color? color,
- Color? borderColor,
- double borderWidth = 0,
- double borderRadius = 5,
- double arrowLength = 7,
- double arrowWidth = 5,
- String? format,
- Color? connectorLineColor,
- double connectorLineWidth = 1.5,
- List<
double> ? connectorLineDashArray, - int decimalPlaces = 3,
- bool canShowMarker = true,
- TextStyle textStyle = const TextStyle(fontFamily: 'Roboto', fontStyle: FontStyle.normal, fontWeight: FontWeight.normal, fontSize: 12),
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 = const TextStyle(
fontFamily: 'Roboto',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.normal,
fontSize: 12)});