addOpacity method

Widget addOpacity({
  1. required double opacity,
})

Implementation

Widget addOpacity({required double opacity}) {
  return Opacity(
    opacity: opacity,
    child: this,
  );
}