onActivate method Null safety

  1. @override
void onActivate()
override

Implementation

@override
void onActivate() {
  // We override onActivate to reset stopOnNextApply. This ensures that when
  // the controller is re-activated after stopping, it doesn't prematurely
  // stop itself.
  _stopOnNextApply = false;
}