Skip to content

How to turn off the default full-screen state when entering the editing mode? #261

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

You must be logged in to vote

To update that part, modify the imageEditorTheme property within the configuration settings as shown below. For more details, you can refer to the discuss here.

configs: ProImageEditorConfigs(
      imageEditorTheme: ImageEditorTheme(
        subEditorPage: SubEditorPageTheme(
            enforceSizeFromMainEditor: true,
            positionTop: 0,
            positionLeft: 0,
            barrierDismissible: true,
            barrierColor: const Color(0x90272727),
            borderRadius: BorderRadius.circular(10),
            transitionsBuilder:
                (context, animation, secondaryAnimation, child) {
              return child;
            }),
      ),

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@likaia
Comment options

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