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

Improving the readme example #3

Open
dbramwell opened this issue Aug 6, 2020 · 0 comments
Open

Improving the readme example #3

dbramwell opened this issue Aug 6, 2020 · 0 comments

Comments

@dbramwell
Copy link

Hi,

Thanks for this, I started using flutter today after not getting the performance I needed out of react-native. I was super pleased to see that there was a dart port of roughjs!

When I was trying to follow the examples I was just using:

Paint paint = Paint();
paint.color = Color(0xff6ab04c);

I wasn't getting the look that I'd hoped for, it looked a lot different than the roughjs equivalent. Eventually I found in your example project you specify style = PaintingStyle.stroke. I wondered if it'd be worth adding that to the readme?

I'm sure if I wasn't a complete flutter noob I would have know about this Paint param, but might be nice having a fully working example in the readme anyway?

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

1 participant