ChartCanvas constructor
const
ChartCanvas({
- Key? key,
- required ChartRenderer renderer,
- bool animate = true,
- Duration duration = const Duration(milliseconds: 1000),
- int replay = 0,
Creates a canvas hosting renderer, optionally tracing it in with the
reveal animation (animate) over duration.
Implementation
const ChartCanvas({
super.key,
required this.renderer,
this.animate = true,
this.duration = const Duration(milliseconds: 1000),
this.replay = 0,
});