dispose method Null safety

  1. @override
void dispose()
override

Disposes the group.

Implementation

@override
void dispose() {
  forEachChild((control) {
    control.parent = null;
    control.dispose();
  });
  closeCollectionEvents();
  super.dispose();
}