buildWidget method

  1. @override
Widget buildWidget()
override

Builds the widget that renders this ad (an AdWidget in production, a plain placeholder in tests). Host it exactly once.

Implementation

@override
Widget buildWidget() {
  buildWidgetCalls++;
  return SizedBox(width: size.width, height: size.height);
}