Widget.opacity constructor Null safety

const Widget.opacity(
  1. {Key? key,
  2. required double opacity,
  3. @Default(false) bool alwaysIncludeSemantics,
  4. Widget? child}
)

Implementation

const factory Widget.opacity({
  Key? key,
  required double opacity,
  @Default(false) bool alwaysIncludeSemantics,
  Widget? child,
}) = Opacity;