inactiveAppLifecycleState method

  1. @override
void inactiveAppLifecycleState()
inherited

Apps in this state should assume that they may be pausedAppLifecycleState at any time.

Implementation

@override
void inactiveAppLifecycleState() {
  // Don't call deactivate() if in testing
  if (inWidgetsFlutterBinding) {
    deactivate();
  }
  super.inactiveAppLifecycleState();
}