ChartDetector<T extends ChartState> constructor
const
ChartDetector<T extends ChartState> ({
- Key? key,
- required Widget child,
- required ChartController<
ChartState> controller, - ChartInteractionCallback<
T> ? onTap, - ChartInteractionCallback<
T> ? onDoubleTap, - ChartInteractionCallback<
T> ? onLongPress, - ChartInteractionCallback<
T> ? onHoverStart, - ChartInteractionCallback<
T> ? onHoverEnd,
Implementation
const ChartDetector({
super.key,
required this.child,
required this.controller,
this.onTap,
this.onDoubleTap,
this.onLongPress,
this.onHoverStart,
this.onHoverEnd
});