updateConfig method

void updateConfig(
  1. PlannerConfig<T> config
)

Adopts a new config (e.g. when the host Planner is rebuilt with different settings) and recomputes the scroll bounds, while leaving the current scroll/zoom position untouched.

Implementation

void updateConfig(PlannerConfig<T> config) {
  this.config = config;
  _calculateOffsets();
}