onActive method

void onActive(
  1. Layer<T> popped,
  2. Object? result
)

Called by the UI when the Layer above this one has been popped, making this layer the top-most in the bound UserInterface. If a result value was passed to UserInterface.pop, it is provided here as result.

Implementation

void onActive(Layer<T> popped, Object? result) {}