Skip to content

Commit

Permalink
Minor updates before publishing to pub
Browse files Browse the repository at this point in the history
  • Loading branch information
tneotia committed Feb 19, 2021
1 parent 7bbee9d commit 97429bc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 72 deletions.
46 changes: 15 additions & 31 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,27 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "2.1.5"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
device_info:
dependency: transitive
description:
name: device_info
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0-nullsafety.2"
device_info_platform_interface:
dependency: transitive
description:
name: device_info_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0-nullsafety.2"
fake_async:
dependency: transitive
description:
Expand All @@ -86,12 +79,10 @@ packages:
flutter_inappwebview:
dependency: transitive
description:
path: "."
ref: master
resolved-ref: de9d081af2ebea0dcfb3180255335c29e4cfd8e5
url: "https://github.com/pichillilorenzo/flutter_inappwebview.git"
source: git
version: "5.0.0-nullsafety.0"
name: flutter_inappwebview
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0+4"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down Expand Up @@ -139,13 +130,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
intl:
dependency: transitive
description:
name: intl
url: "https://pub.dartlang.org"
source: hosted
version: "0.17.0"
matcher:
dependency: transitive
description:
Expand All @@ -166,7 +150,7 @@ packages:
name: mime
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "0.9.7"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -248,7 +232,7 @@ packages:
name: uuid
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0-nullsafety.1"
version: "2.2.2"
vector_math:
dependency: transitive
description:
Expand All @@ -258,4 +242,4 @@ packages:
version: "2.1.0"
sdks:
dart: ">=2.12.0-0.0 <3.0.0"
flutter: ">=1.22.2"
flutter: ">=1.20.0"
12 changes: 6 additions & 6 deletions lib/html_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ class HtmlEditor extends StatelessWidget with WidgetsBindingObserver {
crossPlatform: InAppWebViewOptions(
javaScriptEnabled: true,
),
android: AndroidInAppWebViewOptions(
//todo flutter_inappwebview 5.0.0
/*android: AndroidInAppWebViewOptions(
useHybridComposition: true,
)
)*/
),
gestureRecognizers: [
Factory(
() => VerticalDragGestureRecognizer()..onUpdate = (_) {}),
].toSet(),
gestureRecognizers: {
Factory<VerticalDragGestureRecognizer>(() => VerticalDragGestureRecognizer())
},
onConsoleMessage: (controller, message) {
String isi = message.message;
if (isi.isEmpty ||
Expand Down
42 changes: 13 additions & 29 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0"
crypto:
convert:
dependency: transitive
description:
name: crypto
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
device_info:
dependency: transitive
description:
name: device_info
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0-nullsafety.2"
device_info_platform_interface:
version: "2.1.1"
crypto:
dependency: transitive
description:
name: device_info_platform_interface
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0-nullsafety.2"
version: "2.1.5"
fake_async:
dependency: transitive
description:
Expand All @@ -79,12 +72,10 @@ packages:
flutter_inappwebview:
dependency: "direct main"
description:
path: "."
ref: master
resolved-ref: de9d081af2ebea0dcfb3180255335c29e4cfd8e5
url: "https://github.com/pichillilorenzo/flutter_inappwebview.git"
source: git
version: "5.0.0-nullsafety.0"
name: flutter_inappwebview
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0+4"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down Expand Up @@ -125,13 +116,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
intl:
dependency: transitive
description:
name: intl
url: "https://pub.dartlang.org"
source: hosted
version: "0.17.0"
matcher:
dependency: transitive
description:
Expand All @@ -152,7 +136,7 @@ packages:
name: mime
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "0.9.7"
path:
dependency: "direct main"
description:
Expand Down Expand Up @@ -234,7 +218,7 @@ packages:
name: uuid
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0-nullsafety.1"
version: "2.2.2"
vector_math:
dependency: transitive
description:
Expand All @@ -244,4 +228,4 @@ packages:
version: "2.1.0"
sdks:
dart: ">=2.12.0-0.0 <3.0.0"
flutter: ">=1.22.2"
flutter: ">=1.20.0"
8 changes: 2 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: html_editor_enhanced
description: HTML Editor Enhanced is a text editor for Android and iOS to help write WYSIWYG HTML code using Summernote. Initially created by @xrb21, enhanced version maintained by @tneotia.
version: 1.1.0
author: Tanay Neotia
homepage: https://github.com/tneotia/html-editor-enhanced

environment:
Expand All @@ -11,13 +10,10 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_inappwebview:
git:
url: https://github.com/pichillilorenzo/flutter_inappwebview.git
ref: master
flutter_inappwebview: ^4.0.0+4
image_picker: ^0.6.7+22
path: ^1.8.0
mime: ^1.0.0
mime: ^0.9.6+2

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 97429bc

Please sign in to comment.