dispose method
Disposes the sub-texture, and also disposes the parent texture if
ownsParent
was set to true.
Implementation
@override
void dispose() {
if (_ownsParent!) {
_parent!.dispose();
}
super.dispose();
}
Disposes the sub-texture, and also disposes the parent texture if
ownsParent
was set to true.
@override
void dispose() {
if (_ownsParent!) {
_parent!.dispose();
}
super.dispose();
}