setBannerHeight method

void setBannerHeight(
  1. double height
)

Updates the live rendered height of the active banner ad.

Implementation

void setBannerHeight(double height) {
  final normalized = height < 0 ? 0.0 : height;
  if (_activeBannerHeight == normalized) return;
  _activeBannerHeight = normalized;
  notifyListeners();
}