getInitialState method
Invoked once before the Component
is mounted. The return value will be used as the initial value of state.
Implementation
@override
Map getInitialState() => (newState()
..transitionPhase = this.initiallyShown ? TransitionPhase.SHOWN : TransitionPhase.HIDDEN
);