installFrameUpdater static method
void
installFrameUpdater()
Implementation
static void installFrameUpdater() {
if (_frameUpdaterInstalled) return;
_frameUpdaterInstalled = true;
WidgetsBinding.instance.addPersistentFrameCallback((_) {
_PlatformViewManager.shared.batchBegin();
_frameUpdater.notifyListeners();
_PlatformViewManager.shared.batchCommit();
});
}