opacity50 static method

Opacity opacity50({
  1. Key? key,
  2. required Widget child,
})

Constructs an Opacity widget with an opacity of 50%

Implementation

static Opacity opacity50({Key? key, required Widget child}) {
  return Opacity(
    key: key,
    child: child,
    opacity: 0.5,
  );
}