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 const SizedBox(width: 320, height: 90);
}