How MPApp handles WeChat environment signals
masterMPApp communicates with the WeChat JavaScript context to synchronize the Flutter UI with the mini-program environment. It listens to the following JS context properties and callbacks:
safeAreaInsetTop: A numeric value representing the top safe area inset.safeAreaInsetBottom: A numeric value representing the bottom safe area inset (defaults to50.0if not provided).keyboardHeightChanged: A callback function(num value) => voidtriggered when the keyboard height changes.MPAppuses this to update theviewInsetsinMediaQueryand notifiesMPFlutterKeyboardObserver.shared.onWegameShow: A callback that triggers a forced frame update in Flutter.