toPdfWidget method

Opacity toPdfWidget(
  1. Widget? child
)

Converts the Opacity to a pw.Opacity.

Implementation

pw.Opacity toPdfWidget(pw.Widget? child) => pw.Opacity(
      opacity: opacity,
      child: child,
    );