ChartDetector<T extends ChartState> constructor

const ChartDetector<T extends ChartState>({
  1. Key? key,
  2. required Widget child,
  3. required ChartController<ChartState> controller,
  4. ChartInteractionCallback<T>? onTap,
  5. ChartInteractionCallback<T>? onDoubleTap,
  6. ChartInteractionCallback<T>? onLongPress,
  7. ChartInteractionCallback<T>? onHoverStart,
  8. ChartInteractionCallback<T>? onHoverEnd,
})

Implementation

const ChartDetector({
  super.key,
  required this.child,
  required this.controller,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.onHoverStart,
  this.onHoverEnd
});