updateFrameBudget method

void updateFrameBudget(
  1. Duration frameBudget
)

Updates the frame budget used by this controller.

Implementation

void updateFrameBudget(Duration frameBudget) {
  if (options.frameBudget != null) return;
  _frameBudget = frameBudget;
}