removeSurface method

void removeSurface(
  1. int index
)

Remove the surface at index.

Implementation

void removeSurface(int index) {
  _surfaces.removeAt(index);
  updateBounds();
}