RenderAnimatedOpacity constructor

RenderAnimatedOpacity({
  1. required Animation<double> opacity,
  2. bool alwaysIncludeSemantics = false,
  3. RenderBox? child,
})

Creates a partially transparent render object.

Implementation

RenderAnimatedOpacity({
  required Animation<double> opacity,
  bool alwaysIncludeSemantics = false,
  RenderBox? child,
}) : super(child) {
  this.opacity = opacity;
  this.alwaysIncludeSemantics = alwaysIncludeSemantics;
}