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

DECORATIONS CAN NOT ACCEPT SHAPEDECORATION() #177

Open
omerkadioglu opened this issue Mar 28, 2024 · 1 comment
Open

DECORATIONS CAN NOT ACCEPT SHAPEDECORATION() #177

omerkadioglu opened this issue Mar 28, 2024 · 1 comment
Assignees

Comments

@omerkadioglu
Copy link

I need to use "figma_squircle" package with "pinput" package. However I can not use it because defaultPinTheme, focusedPinTheme, errorPinTheme etc. decoration can not accept ShapeDecoration(). Can you fix this problem please?

Now My Code:
Ekran Resmi 2024-03-28 17 48 42

I Need to Use:
Ekran Resmi 2024-03-28 17 49 10

@TheManuz
Copy link

Upvote for this.

I would have used

ShapeDecoration(
  shape: ContinuousRectangleBorder(
    borderRadius: BorderRadius.circular(8),
  ),
);

which does the same but without using external packages.

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

No branches or pull requests

3 participants