From 650763a1bd786ac57bfeca86637110f00c6f810e Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 6 Apr 2021 13:18:28 +0200 Subject: [PATCH] Comment out flutter_webview plugin It wasn't being used. It was just an experiment which was never shipped. Plus it hasn't been ported to null safety --- lib/main_webview.dart | 3 +++ lib/widgets/katex_widget.dart | 3 +++ pubspec.lock | 7 ------- pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/main_webview.dart b/lib/main_webview.dart index cdedf42a..5b6f0e22 100644 --- a/lib/main_webview.dart +++ b/lib/main_webview.dart @@ -1,3 +1,5 @@ +/* + import 'package:flutter/material.dart'; import 'package:gitjournal/widgets/katex_widget.dart'; @@ -37,3 +39,4 @@ class MyWidget extends StatelessWidget { ); } } +*/ diff --git a/lib/widgets/katex_widget.dart b/lib/widgets/katex_widget.dart index 5aaa0e11..95713e06 100644 --- a/lib/widgets/katex_widget.dart +++ b/lib/widgets/katex_widget.dart @@ -1,3 +1,5 @@ +/* + import 'dart:async'; import 'dart:convert'; import 'dart:io'; @@ -124,3 +126,4 @@ html2canvas(document.body, {backgroundColor: 'rgba(0, 0, 0, 0)', removeContainer return Image.file(File(imagePath)); } } +*/ diff --git a/pubspec.lock b/pubspec.lock index e00e023b..036da2db 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -415,13 +415,6 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_webview_plugin: - dependency: "direct dev" - description: - name: flutter_webview_plugin - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.11" font_awesome_flutter: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 39363a64..66873bf8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -84,7 +84,7 @@ dev_dependencies: benchmark_harness: any bonsoir: ^0.1.2+2 flutter_launcher_icons: ^0.9.0 - flutter_webview_plugin: ^0.3.11 + # flutter_webview_plugin: ^0.3.11 import_sorter: ^4.2.2 multicast_dns: ^0.2.2 #screenshots: ^2.1.1