opacity method

Widget opacity({
  1. required double opacity,
  2. bool alwaysIncludeSemantics = false,
  3. Key? key,
})

Implementation

Widget opacity({
  required double opacity,
  bool alwaysIncludeSemantics = false,
  Key? key,
}) {
  return Opacity(
    opacity: opacity,
    alwaysIncludeSemantics: alwaysIncludeSemantics,
    child: this,
    key: key,
  );
}