opacity40 static method

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

Constructs an Opacity widget with an opacity of 40%

Implementation

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