Closed AlohaTiger closed 4 years ago
just open ad_native.dart and change line 190 from
widget.height : widget.bannerAdSize.height.toInt(),
to this
widget.height : widget.bannerAdSize.height.toDouble(),
@ourmazd Nice, but instead of line 190, it should be line 232.
@dharmesh304 Bug fixed. Thanks.
I am still getting this same error for version 0.7.1.
Same here, I am getting this error on version 0.7.1
The following _TypeError was thrown building FacebookNativeAd(dirty, dependencies: [MediaQuery], state: _FacebookNativeAdState#6c492): type 'int' is not a subtype of type 'double'
This bug is not fixed yet in 0.7.1
Hi I am getting this error in IOS, but in Android, it works fine.
Here is the code