FadeTransition constructor Null safety
Creates an opacity transition.
The opacity argument must not be null.
Implementation
const FadeTransition({
super.key,
required this.opacity,
this.alwaysIncludeSemantics = false,
super.child,
}) : assert(opacity != null);