opacity method

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

see Opacity

Implementation

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