|
@@ -111,6 +111,12 @@ class _MyHomePageState extends State<MyHomePage> {
|
|
|
},
|
|
},
|
|
|
child: new Text("Open Webview"),
|
|
child: new Text("Open Webview"),
|
|
|
),
|
|
),
|
|
|
|
|
+ new RaisedButton(
|
|
|
|
|
+ onPressed: () {
|
|
|
|
|
+ flutterWebviewPlugin.launch(_ctrl.text, hidden: true);
|
|
|
|
|
+ },
|
|
|
|
|
+ child: new Text("Open 'hidden' Webview"),
|
|
|
|
|
+ ),
|
|
|
new RaisedButton(
|
|
new RaisedButton(
|
|
|
onPressed: () {
|
|
onPressed: () {
|
|
|
flutterWebviewPlugin.launch(_ctrl.text, fullScreen: true);
|
|
flutterWebviewPlugin.launch(_ctrl.text, fullScreen: true);
|