opacity20 static method

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

Constructs an Opacity widget with an opacity of 20%

Implementation

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