cOpacity method

Widget cOpacity(
  1. double opacity
)

Set the opacity of the widget.

opacity specifies the opacity level, with 0.0 being completely transparent and 1.0 being fully opaque.

Implementation

Widget cOpacity(double opacity) => Opacity(
      opacity: opacity,
      child: this,
    );