dispose method

bool dispose(
  1. C cube
)

if you want the widget to not call dispose in the Cube, return false

Implementation

bool dispose(C cube) => true;