Skip to content

[Question] How to customize the UI color picker for text, paint editor, and crop ratio #98

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

You must be logged in to vote

Actually it was not possible to customize this widgets that they have a unique style. However i released version 3.0.5 where you can customize all this widgets. Below is an example how to do it.

return ProImageEditor.asset(
      ExampleConstants.of(context)!.demoAssetPath,
      key: editorKey,
      callbacks: ProImageEditorCallbacks(
        onImageEditingStarted: onImageEditingStarted,
        onImageEditingComplete: onImageEditingComplete,
        onCloseEditor: onCloseEditor,
      ),
      configs: ProImageEditorConfigs(
        customWidgets: ImageEditorCustomWidgets(
          colorPickerTextEditor: (setColor) {
            return BarColorPicker(
              configs: const ProI…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hm21
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #70 on June 14, 2024 07:08.