Flutter_Pinput icon indicating copy to clipboard operation
Flutter_Pinput copied to clipboard

DECORATIONS CAN NOT ACCEPT SHAPEDECORATION()

Open omerkadioglu opened this issue 1 year ago • 1 comments

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

omerkadioglu avatar Mar 28 '24 14:03 omerkadioglu

Upvote for this.

I would have used

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

which does the same but without using external packages.

TheManuz avatar Apr 23 '24 07:04 TheManuz