RenderSliverAnimatedOpacity constructor
- required Animation<
double> opacity, - bool alwaysIncludeSemantics = false,
- RenderSliver? sliver,
Creates a partially transparent render object.
Implementation
RenderSliverAnimatedOpacity({
required Animation<double> opacity,
bool alwaysIncludeSemantics = false,
RenderSliver? sliver,
}) {
this.opacity = opacity;
this.alwaysIncludeSemantics = alwaysIncludeSemantics;
child = sliver;
}