Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom crop overlay frame #86

Open
JayronKhong opened this issue Jan 11, 2023 · 1 comment · May be fixed by #107
Open

Custom crop overlay frame #86

JayronKhong opened this issue Jan 11, 2023 · 1 comment · May be fixed by #107

Comments

@JayronKhong
Copy link

Hi, is this package able to make a custom overlay cropper frame?
I'm trying to crop the image base on the custom overlay.

Example screenshot:
Screenshot 2023-01-11 at 11 28 29 AM

@chooyan-eng
Copy link
Owner

@JayronKhong
Thank you for asking and I apologize for the late reply.
Though it depends on what UI you need to build, you can simply place your overlay using Stack like below.

Stack(
  children: [
    SizedBox(  // or some Widget to provide the size to its child
      child: Crop(),
    ),
    Positioned.fill(
      child: IgnorePointer(
        child: YourOverlayWidget();
      ),
    ),
  ],
),

@abichinger abichinger linked a pull request Jun 22, 2023 that will close this issue
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 a pull request may close this issue.

2 participants