collapseSection method

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

Implementation

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