dispose method Null safety

  1. @override
void dispose()
override

Called when the scroll view stops performing this activity.

Implementation

@override
void dispose() {
  _completer.complete();
  _controller.dispose();
  super.dispose();
}