fluttercommunity / fluttercommunity/flutter_webview_plugin
How to load a conditional url in WebviewScaffold?
- 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
Research direction
Start with the WebviewScaffold usage shown in the issue and determine how its url parameter should receive a locale-dependent value. The issue names no repository file or test, so first clarify whether this needs documentation, an example, or a plugin change, then define the expected English and German behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100