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

NeumorphicStyle, boxShape isn't defined in the scope #144

Closed
Sammy-iiitb opened this issue Jun 4, 2020 · 7 comments
Closed

NeumorphicStyle, boxShape isn't defined in the scope #144

Sammy-iiitb opened this issue Jun 4, 2020 · 7 comments

Comments

@Sammy-iiitb
Copy link

Neumorphic(
            style: NeumorphicStyle(
              shape: NeumorphicShape.concave,
              boxShape: NeumorphicBoxShape.roundRect(BorderRadius.circular(12),),
              depth: 8,
              lightSource: LightSource.topLeft,
              color: Colors.grey,)
        ),

boxShape is not a parameter in NeumorphicStyle, is there any other way to import it.

@Sammy-iiitb
Copy link
Author

boxShape should come under Neumorphic widget and not under NeumorphicStyle widget.

@florent37
Copy link
Member

yes it's because we're moving to a 3.0.0 of the library, and it'll be in style

for now (2.0.0) it's inside the widget

we should do this inside a different branch but it's not master, sorry

@florent37
Copy link
Member

in few days in 3.. the boxshape will be in style

@florent37
Copy link
Member

#135

@Sammy-iiitb
Copy link
Author

Thanks

@florent37
Copy link
Member

It's published

@Sammy-iiitb
Copy link
Author

Perfect

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

2 participants