web
This commit is contained in:
@@ -33,22 +33,18 @@ class _WebViewScreenState extends State<WebViewScreen> {
|
|||||||
)
|
)
|
||||||
..loadRequest(Uri.parse(widget.link));
|
..loadRequest(Uri.parse(widget.link));
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: PopAppbar(
|
appBar: PopAppbar(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
},
|
},
|
||||||
label: widget.label,
|
label: widget.label,
|
||||||
),
|
),
|
||||||
body: Stack(
|
body: Stack(
|
||||||
children: [
|
children: [
|
||||||
const Center(child: CircularProgressIndicator()),
|
const Center(child: CircularProgressIndicator()),
|
||||||
WebViewWidget(controller: controller),
|
WebViewWidget(controller: controller),
|
||||||
],
|
],
|
||||||
)
|
),
|
||||||
|
);
|
||||||
// isLoading
|
|
||||||
// ? const Center(child: CircularProgressIndicator())
|
|
||||||
// : WebViewWidget(controller: controller),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user