dispose method

  1. @override
void dispose()
override

Called when its corresponding element disposed

Implementation

@override
void dispose() {
  super.dispose();
  _outerClipLayer.layer = null;
  _innerClipLayer.layer = null;
  _transformLayer.layer = null;
}