platformViewWrapper method

FittedBox platformViewWrapper()

Implementation

FittedBox platformViewWrapper() {
  // FittedBox allows us to flexibly adjust the size of the ad
  return FittedBox(
    fit: BoxFit.contain,
    child: Container(
        child: platformView,
        width: variableSize.width,
        height: variableSize.height
    ),
  );
}