StatusTransitionWidget({Key key, @required Animation<double> animation })

Initializes fields for subclasses.

The animation argument must not be null.

Source

StatusTransitionWidget({
  Key key,
  @required this.animation
}) : super(key: key) {
  assert(animation != null);
}