ookami-kb / storybook_flutter

A storybook for Flutter widgets.
https://pub.dev/packages/storybook_flutter
MIT License
293 stars 66 forks source link

feat: screenshot feature #62

Closed gustavobelo-dev closed 2 years ago

gustavobelo-dev commented 2 years ago

Feature requested: https://github.com/ookami-kb/storybook_flutter/issues/50

Implemented screenshot feature to Web and Mobile

Future improvements suggestions:

Result

Button added image

Screenshot with device preview Input field (2)

Simple screenshot Input field

ookami-kb commented 2 years ago

Hi, thanks for the PR!

I'm currently finishing the major refactoring (you can check it in the next branch and pre-release version on pub.dev). There are breaking changes in the API.

Also, it probably makes sense to make it a separate plugin, outside of the current library – I'm not sure about this yet.

Let me come back to this PR later, after finishing with the next version migration.

gustavobelo-dev commented 2 years ago

Hell, you're welcome. Sorry, I didn't know about this breaking change, so, you are right, could be better I wait to submit a new one, considering the plugin's implementation, when it will already be done. Thanks for your answer.