builder property
Build the ad background. Basic usage:
NativeAd(
builder: (context, child) {
return Container(
// Applies a blue color to the background.
// You can use anything here to build the ad.
// The ad won't be reloaded
color: Colors.blue,
child: child,
);
}
)
For more info, read the changelog
Implementation
final AdBuilder? builder;