Skip to content

feat(callbacks): add onLayerInteractionEnd#795

Open
saif-ellafi wants to merge 1 commit intohm21:stablefrom
saif-ellafi:interaction-end-callback
Open

feat(callbacks): add onLayerInteractionEnd#795
saif-ellafi wants to merge 1 commit intohm21:stablefrom
saif-ellafi:interaction-end-callback

Conversation

@saif-ellafi
Copy link
Contributor

PR Checklist (Required)

Please ensure your PR meets the following requirements:

  • The commit message follows our guidelines: https://github.com/hm21/pro_image_editor/blob/stable/CONTRIBUTING.md#style-guides
  • I have run dart format . in the terminal and committed any changes.
  • I have run dart analyze . in the terminal and addressed any issues.
  • I have run flutter test in the terminal and addressed any issues.
  • I have pulled from the stable branch before committing.
  • I have updated the CHANGELOG.md file with my changes (For the version, you can use X.X.X, I will later bump it after it's merged).
  • The PR title follows the conventional commit style (e.g., feat(paint-editor): add new triangle shape).
  • If this PR introduces breaking changes, I have verified that there is no way to implement the changes without them.

PR Type

Please indicate the types of changes this PR introduces by checking the relevant boxes:

  • Bugfix
  • Feature
  • Performance
  • Refactor (no functional or API changes)
  • Code style updates (e.g., formatting, local variables)
  • Documentation updates
  • CI-related changes
  • Other... Please describe:

Current Behavior

It is not possible to trigger events once the interaction with a layer finishes.

Issue Number: N/A

New Behavior

This PR adds an onLayerInteractionEnd callback to allow taking action after the "release" of a layer in the editor.

Breaking Changes?

Does this PR introduce a breaking change?

  • Yes
  • No

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant