Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Post 具有基本身份验证的WebviewScaffold-如何使用参数发布请求_Post_Flutter_Webviewscaffold - Fatal编程技术网

Post 具有基本身份验证的WebviewScaffold-如何使用参数发布请求

Post 具有基本身份验证的WebviewScaffold-如何使用参数发布请求,post,flutter,webviewscaffold,Post,Flutter,Webviewscaffold,我正在加载具有基本身份验证的网页,如下所示: @override Widget build(BuildContext context) { return new WebviewScaffold( appBar: new AppBar( title: new Text(“Web View”), centerTitle: true, backgroundColor: Colors.red[900], eleva

我正在加载具有基本身份验证的网页,如下所示:

@override
 Widget build(BuildContext context) {
   return new WebviewScaffold(
     appBar: new AppBar(
         title: new Text(“Web View”),
         centerTitle: true,
         backgroundColor: Colors.red[900],
         elevation: 0.0,
     ),
     url: widget.url,
     withJavascript: true,
     withZoom: false,
     clearCookies: true,
     headers: {‘Authorization’: ‘Basic ’ + base64Encode(utf8.encode(‘$widget.user:$widget.pass’))},
   );
 }
对于另一个url,我想发出post请求并发送参数,是否可以使用WebviewScaffold