This commit is contained in:
Felipe
2023-10-27 18:11:28 -05:00
parent b75cf7da13
commit a9d2e5aef3
+13 -17
View File
@@ -33,22 +33,18 @@ class _WebViewScreenState extends State<WebViewScreen> {
)
..loadRequest(Uri.parse(widget.link));
return Scaffold(
appBar: PopAppbar(
onPressed: () {
Navigator.pop(context);
},
label: widget.label,
),
body: Stack(
children: [
const Center(child: CircularProgressIndicator()),
WebViewWidget(controller: controller),
],
)
// isLoading
// ? const Center(child: CircularProgressIndicator())
// : WebViewWidget(controller: controller),
);
appBar: PopAppbar(
onPressed: () {
Navigator.pop(context);
},
label: widget.label,
),
body: Stack(
children: [
const Center(child: CircularProgressIndicator()),
WebViewWidget(controller: controller),
],
),
);
}
}