mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 10:04:20 +01:00
bookmark and history some code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user