build method

  1. @override
Widget build(
  1. Context context
)
override

Implementation

@override
pw.Widget build(pw.Context context) => pw.SizedBox.expand(
      child: pw.FittedBox(
        fit: fit,
        child: pw.Transform.rotateBox(angle: angle, child: child),
      ),
    );