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)); ..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),
);
} }
} }