removeSection method

void removeSection(
  1. K sectionKey, {
  2. bool animate = true,
})

Implementation

void removeSection(K sectionKey, {bool animate = true}) {
  _checkNotDisposed();
  _requireSection(sectionKey, "removeSection");
  _tree.remove(key: SectionKey<K>(sectionKey), animate: animate);
}