[英]How do you render script tags in flutter dart
I have a google and apple ad that I want to use on my new website.我有一个要在我的新网站上使用的谷歌和苹果广告。 However, I am using flutter(dart).但是,我正在使用颤振(飞镖)。 In my old site, I used HTML5 and the ads are between tags.在我的旧网站中,我使用了 HTML5 并且广告位于标签之间。 I am adding to the horizontal color bar like the link below.我正在像下面的链接一样添加到水平颜色条。
If you are using flutter web (and not dart web), then you would have to use first party or third party plugins -如果您使用的是 flutter web(而不是 dart web),那么您将不得不使用第一方或第三方插件 -
Here's a codelab for reference- Adding AdMob ads to a Flutter app这是一个供参考的代码实验室 - 将 AdMob 广告添加到 Flutter 应用程序
And a medium article - Showing Ads in Flutter app还有一篇中篇文章—— 在 Flutter 应用中展示广告
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.