bookmark and history some code

This commit is contained in:
DASHU
2024-09-12 10:32:18 +08:00
parent e63f99ff30
commit 99d1c03d2a
11 changed files with 199 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import '../../data/browser_history.dart';
class WebInfo {
String id;
@@ -11,10 +13,13 @@ class WebInfo {
String? title;
BrowserHistory? browserHistory;
WebInfo clone() {
var wi = WebInfo(id, url);
wi.controller = controller;
wi.title = title;
wi.browserHistory = browserHistory;
return wi;
}
}