Skip to content

Can you guide me in the right direction in order to implement onTap activate the text editor (like instagram story) and also.... #104

Closed Answered by hm21
ember11498 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, below is the answer to your questions:

  1. This function was not possible, but I released version 3.0.15 where you have now new callbacks inside the mainEditorCallbacks. Below is the example how to do it now:
 return ProImageEditor.asset(
      ExampleConstants.of(context)!.demoAssetPath,
      key: editorKey,
      callbacks: ProImageEditorCallbacks(
        mainEditorCallbacks: MainEditorCallbacks(
          onTap: editorKey.currentState!.openTextEditor,
        ),
        onImageEditingStarted: onImageEditingStarted,
        onImageEditingComplete: onImageEditingComplete,
        onCloseEditor: onCloseEditor,
      ),
),
  1. In this example you can see how to customize the editor wit…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hm21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants