@@ -986,11 +986,6 @@ class FakePlatformWebView {
986
986
debuggingEnabled = params['settings' ]['debuggingEnabled' ];
987
987
userAgent = params['settings' ]['userAgent' ];
988
988
zoomEnabled = params['settings' ]['zoomEnabled' ] ?? true ;
989
- builtInZoomControlsEnabled =
990
- params['settings' ]['builtInZoomControlsEnabled' ] ?? true ;
991
- displayZoomControls = params['settings' ]['displayZoomControls' ] ?? false ;
992
- useWideViewPort = params['settings' ]['useWideViewPort' ];
993
- loadWithOverviewMode = params['settings' ]['loadWithOverviewMode' ];
994
989
channel = MethodChannel (
995
990
'plugins.flutter.io/webview_$id ' , const StandardMethodCodec ());
996
991
channel.setMockMethodCallHandler (onMethodCall);
@@ -1011,10 +1006,6 @@ class FakePlatformWebView {
1011
1006
bool ? debuggingEnabled;
1012
1007
String ? userAgent;
1013
1008
bool ? zoomEnabled;
1014
- bool ? builtInZoomControlsEnabled;
1015
- bool ? displayZoomControls;
1016
- bool ? useWideViewPort;
1017
- bool ? loadWithOverviewMode;
1018
1009
1019
1010
Future <dynamic > onMethodCall (MethodCall call) {
1020
1011
switch (call.method) {
@@ -1036,19 +1027,6 @@ class FakePlatformWebView {
1036
1027
if (call.arguments['zoomEnabled' ] != null ) {
1037
1028
zoomEnabled = call.arguments['zoomEnabled' ];
1038
1029
}
1039
- if (call.arguments['builtInZoomControlsEnabled' ] != null ) {
1040
- builtInZoomControlsEnabled =
1041
- call.arguments['builtInZoomControlsEnabled' ];
1042
- }
1043
- if (call.arguments['displayZoomControls' ] != null ) {
1044
- displayZoomControls = call.arguments['displayZoomControls' ];
1045
- }
1046
- if (call.arguments['useWideViewPort' ] != null ) {
1047
- useWideViewPort = call.arguments['useWideViewPort' ];
1048
- }
1049
- if (call.arguments['loadWithOverviewMode' ] != null ) {
1050
- loadWithOverviewMode = call.arguments['loadWithOverviewMode' ];
1051
- }
1052
1030
break ;
1053
1031
case 'canGoBack' :
1054
1032
return Future <bool >.sync (() => currentPosition > 0 );
0 commit comments