Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update flutter version to 3.24.0 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/src/controller/mobile/html_viewer_controller_mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'dart:io';
import 'package:flutter_inappwebview/flutter_inappwebview.dart' as mobile;
import 'package:flutter_super_html_viewer/src/controller/html_viewer_controller_unsupported.dart'
as unsupported;
import 'package:webview_windows/webview_windows.dart' as window;

/// Controller for mobile
class HtmlViewerController extends unsupported.HtmlViewerController {
Expand All @@ -25,8 +24,6 @@ class HtmlViewerController extends unsupported.HtmlViewerController {

if (Platform.isAndroid || Platform.isIOS) {
_webViewController = controller as mobile.InAppWebViewController;
} else if (Platform.isWindows) {
_webViewController = controller as window.WebviewController;
}
}
}
15 changes: 0 additions & 15 deletions lib/src/view/mobile/html_content_viewer_mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_super_html_viewer/flutter_super_html_viewer.dart';
import 'package:flutter_super_html_viewer/src/widgets/mobile/html_content_viewer_widget_mobile.dart'
as mobile;
import 'package:flutter_super_html_viewer/src/widgets/desktop/html_content_viewer_widget_desktop.dart'
as desktop;
import 'package:flutter_super_html_viewer/utils/app_define.dart';
import 'dart:io' show Platform;

Expand Down Expand Up @@ -74,19 +72,6 @@ class HtmlContentViewer extends StatelessWidget {
onScrollHorizontalEnd: onScrollHorizontalEnd,
urlLauncherDelegate: urlLauncherDelegate,
mailtoDelegate: mailtoDelegate);
} else if (Platform.isWindows) {
print('VAO isWindows');
return desktop.HtmlContentViewerWidget(
htmlContent: htmlContent,
initialContentHeight: initialContentHeight,
initialContentWidth: initialContentWidth,
minContentWidth: minContentWidth,
minContentHeight: minContentHeight,
customStyleCssTag: customStyleCssTag,
customScriptsTag: customScriptsTag,
loadingView: loadingView,
controller: controller,
);
} else {
return const Text('Unsupported in this environment');
}
Expand Down
134 changes: 0 additions & 134 deletions lib/src/widgets/desktop/html_content_viewer_widget_desktop.dart

This file was deleted.

Loading