how can i load a veb view from my back and?

I create a genealogical family tree with gojs master library on my backend and I'm trying to show it on my web view in flutter but the container appears empty. I changed localhost to 10.0.2.2 and I tried my IP address but it doesn't work.

This is my code:

Container(
                          constraints: BoxConstraints(
                            maxHeight: 650,
                          ),
                          decoration: BoxDecoration(
                            borderRadius: BorderRadius.all(Radius.circular(20)),
                          ),
                          child: WebView(
                            initialUrl:
                                'http://10.0.2.2:3000/genocheck/arbre',
                            javascriptMode: JavascriptMode.unrestricted,
                          )), 

Browser: browser output

Console output: console output

Web View:

web view



from Recent Questions - Stack Overflow https://ift.tt/3gCzOug
https://ift.tt/2QXrWZw

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Network Error and Timeout on Authorize.net JS

Spring Elasticsearch Operations