startObserving static method
void
startObserving()
Starts observing system safe area changes.
Begins monitoring the device’s safe area (e.g., home indicator or navigation bar) and updates notifier whenever it changes.
Typically called in initState() or when your UI becomes active.
Example:
@override
void initState() {
super.initState();
PersistentSafeAreaBottom.startObservingSafeArea();
}
Implementation
static void startObserving() =>
KeyboardInsetsPlatform.instance.startObservingSafeArea();