hsbijarniya / image_editor_plus

Flutter Image Editor Plugin with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories.
MIT License
122 stars 116 forks source link

after click on remove button emoji is not removing #40

Closed Sayedmdkaif closed 1 year ago

Sayedmdkaif commented 1 year ago

after click on remove button emoji is not removing.. using latest version of image_editor_plus.

flutter doctor -v [✓] Flutter (Channel stable, 3.10.1, on macOS 12.6.1 21G217 darwin-x64, locale en-GB) • Flutter version 3.10.1 on channel stable at /Volumes/DataDrive/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision d3d8effc68 (3 weeks ago), 2023-05-16 17:59:05 -0700 • Engine revision b4fb11214d • Dart version 3.0.1 • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at /Users/mohdkaif/Library/Android/sdk • Platform android-33, build-tools 33.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14C18 • CocoaPods version 1.11.3

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] Connected device (4 available) • RMX3521 (mobile) • 9353c578 • android-arm64 • Android 13 (API 33) • iPad Air (5th generation) (mobile) • 3A234FD2-87AD-4509-8B3E-821DE3D69777 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator) • macOS (desktop) • macos • darwin-x64 • macOS 12.6.1 21G217 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.90

[✓] Network resources • All expected network resources are available.

• No issues found!

hsbijarniya commented 1 year ago

fixed in v0.2.2

Sayedmdkaif commented 1 year ago

Not resolved having same issue. After click on emoji an popup appear after click on remove emoji does not remove. Giving this exception ====== Exception caught by gesture

The following RangeError was thrown while handling a gesture: RangeError (index): Invalid value: Only valid value is 0: -1

When the exception was thrown, this was the stack:

0 List.[] (dart:core-patch/growable_array.dart:264:36)

1 List.removeAt (dart:core-patch/growable_array.dart:23:22)

2 _EmojiLayerOverlayState.build.

(package:image_editor_plus/modules/emoji_layer_overlay.dart:76:44)

3 _InkResponseState.handleTap

(package:flutter/src/material/ink_well.dart:1154:21)

4 GestureRecognizer.invokeCallback

(package:flutter/src/gestures/recognizer.dart:275:24)

5 TapGestureRecognizer.handleTapUp

(package:flutter/src/gestures/tap.dart:654:11)

6 BaseTapGestureRecognizer._checkUp

(package:flutter/src/gestures/tap.dart:311:5)

7 BaseTapGestureRecognizer.acceptGesture

(package:flutter/src/gestures/tap.dart:281:7)

On Sun, Jun 18, 2023 at 11:28 PM hsbijarniya @.***> wrote:

fixed in v0.2.2

— Reply to this email directly, view it on GitHub https://github.com/hsbijarniya/image_editor_plus/issues/40#issuecomment-1596223322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPNLJGPZXNSI72Y74QDIATXL46UPANCNFSM6AAAAAAY2YHGGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Thanks & Regards Mohd. Kaif