opacity50 method

Widget opacity50(
  1. {Key key}
)

Provides 50% opacity which means half visible

Implementation

Widget opacity50({Key key}) => Opacity(
      opacity: 0.5,
      child: this,
    );