before method

void before(
  1. StageFrame frame
)

Called with the moment before the tree is pumped for it.

Where a stage that is driven moves its own state — a scene applying its motion at StageFrame.at — so that build stays what it looks like: a function of the frame, with no side effect in it.

Implementation

void before(StageFrame frame) {}