fluttercommunity / fluttercommunity/flutter_webview_plugin

How to load a conditional url in WebviewScaffold?

Open
#308 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.