dispose method Null safety

  1. @override
void dispose()
override

Free up the resources associated with this ink feature.

Implementation

@override
void dispose() {
  _radiusController.dispose();
  _alphaController!.dispose();
  _alphaController = null;
  super.dispose();
}