remove method

void remove({
  1. bool animate = true,
})

Removes this section (and all its items).

Implementation

void remove({bool animate = true}) {
  controller.removeSection(key, animate: animate);
}