opacity method
Controls the opacity of it's child.
Implementation
Widget opacity({
required double opacity,
Key? key,
bool alwaysIncludeSemantics = false,
}) {
return Opacity(
key: key,
opacity: opacity,
alwaysIncludeSemantics: alwaysIncludeSemantics,
child: this,
);
}