StatusTransitionWidget constructor Null safety

const StatusTransitionWidget(
  1. {Key? key,
  2. required Animation<double> animation}
)

Initializes fields for subclasses.

The animation argument must not be null.

Implementation

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