fluttercommunity / fluttercommunity/flutter_webview_plugin

How to load a conditional url in WebviewScaffold?

オープン
#308 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
1.5k
フォーク
938
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

I want to test the language of the mobile (Android) if it is english then I will load an english link or german then I will load a german link?
in other word:
if Android language == en
Lurl = http:// www .google. com
else Lurl = http:// www . google . de

return WebviewScaffold(
appBar:AppBar(
title: Text("Source Web"),
),
url: Lurl,
);

thanks

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。