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