dispose method
Free up the resources associated with this ink feature.
Implementation
@mustCallSuper
void dispose() {
assert(!_debugDisposed);
assert(() {
_debugDisposed = true;
return true;
}());
assert(debugMaybeDispatchDisposed(this));
_controller._removeFeature(this);
onRemoved?.call();
}