renderBatchEnd method

void renderBatchEnd()

Implementation

void renderBatchEnd() {
  for (final task in _uiTasks) {
    addDispatchTask(task);
  }
  for (final task in _paddingNullUiTasks) {
    addDispatchTask(task);
  }

  _paddingNullUiTasks.clear();
  _uiTasks.clear();

  if (_dispatchRunnable.isNotEmpty) {
    if (!_isDestroyed) {
      updatePage();
      executeUITask();
    }
  }
}