didDetachRenderer method
Implementation
@override
void didDetachRenderer() {
super.didDetachRenderer();
style.removeStyleChangeListener(_styleChangedListener);
painter.dispose();
renderCustomPaint = null;
}
@override
void didDetachRenderer() {
super.didDetachRenderer();
style.removeStyleChangeListener(_styleChangedListener);
painter.dispose();
renderCustomPaint = null;
}