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

Changing Shape of Signature Container #44

Open
marcusjtl opened this issue Oct 19, 2021 · 2 comments
Open

Changing Shape of Signature Container #44

marcusjtl opened this issue Oct 19, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@marcusjtl
Copy link

Would it be possible to modify the shape of the signature container to be a circle as well as in the image of the signature saved?

@MartinHlavna MartinHlavna added the enhancement New feature or request label Oct 25, 2021
@MartinHlavna
Copy link
Member

I am quickly thinking about this.

  1. Canvas and exported image will probably be always rectangle, but you could easily wrap it in
Container(
    decoration: BoxDecoration(
    shape: BoxShape.circle,
    ),
    child:   ///IMAGE
    ),
  1. This should also clip Signature widget into circle. I am not sure however how will the widget behave when drawing on the "invisible" parts.

@MartinHlavna MartinHlavna added the help wanted Extra attention is needed label Dec 17, 2021
@MartinHlavna
Copy link
Member

We are currently not considering to implement this. But if anyone can submit PR we will gladly accept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants