fluttercommunity / fluttercommunity/flutter_webview_plugin
How to load a conditional url in WebviewScaffold?
Offen
- Vorherrschende Sprache
- Java
- Sterne
- 1.5k
- Forks
- 938
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.