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