dispose method

  1. @override
void dispose()
override

To dispose the objects.

Implementation

@override
void dispose() {
  trackPath.reset();
  yValuePath.reset();
  shadowPath.reset();
  overFilledPath.reset();
  super.dispose();
}