Improved webview

This commit is contained in:
Juan Gilsanz Polo
2024-02-22 22:11:41 +01:00
parent 83fe30408f
commit 8d85b80b09
15 changed files with 465 additions and 430 deletions

View File

@@ -1,9 +1,15 @@
import 'package:webview_flutter/webview_flutter.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
class WebViewModel {
final WebViewController webViewController;
InAppWebViewController? inAppWebViewController;
int loadProgress;
bool canGoBack;
bool canGoForward;
WebViewModel({
required this.webViewController,
this.inAppWebViewController,
this.loadProgress = 0,
this.canGoBack = false,
this.canGoForward = false,
});
}