|
|
|
@ -141,6 +141,7 @@ class _NewsArticlePageState extends State<NewsArticlePage> {
|
|
|
|
|
body: widget.useWebView |
|
|
|
|
? Stack( |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
fit: StackFit.expand, |
|
|
|
|
children: [ |
|
|
|
|
WebView( |
|
|
|
|
javascriptMode: JavascriptMode.unrestricted, |
|
|
|
@ -161,8 +162,7 @@ class _NewsArticlePageState extends State<NewsArticlePage> {
|
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
if (_webviewLoading) ...[ |
|
|
|
|
Expanded( |
|
|
|
|
child: ColoredBox( |
|
|
|
|
ColoredBox( |
|
|
|
|
color: Theme.of(context).colorScheme.background, |
|
|
|
|
child: Center( |
|
|
|
|
child: LayoutBuilder( |
|
|
|
@ -173,7 +173,6 @@ class _NewsArticlePageState extends State<NewsArticlePage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|