onEnter abstract method
Describes how transitions to this state should be handled.
The build function is called with a TransitionHandlerBuilder that can be used to describe
the behavior of the entry transition.
Implementation
void onEnter(void Function(TransitionHandlerBuilder<D, void>) build);