opacity method
Wraps this widget in an Opacity.
Implementation
Opacity opacity(double opacity, {Key? key, bool alwaysIncludeSemantics = false}) {
return Opacity(
key: key,
opacity: opacity,
alwaysIncludeSemantics: alwaysIncludeSemantics,
child: this,
);
}