stopObserving static method

void stopObserving()

Stops observing system safe area changes.

Call this when your UI is no longer visible or being disposed of to avoid unnecessary updates and potential memory leaks.

Example:

@override
void dispose() {
  PersistentSafeAreaBottom.stopObservingSafeArea();
  super.dispose();
}

Implementation

static void stopObserving() =>
    KeyboardInsetsPlatform.instance.stopObservingSafeArea();