opacity method

Widget opacity(
  1. {Key key,
  2. @required double value}
)

Provide a custom opacity to any widget by using value

Implementation

Widget opacity({Key key, @required double value}) => Opacity(
      key: key,
      opacity: value,
      child: this,
    );