opacity0 static method

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

Constructs an Opacity widget with an opacity of 0%

Implementation

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