Fidev-io / framy

A convenient code generator for app styleguide, gallery, wireframes and/or storyboard.
https://framy.dev
GNU Lesser General Public License v3.0
148 stars 16 forks source link

Support for BLoC provider #159

Open Mardaneus86 opened 3 years ago

Mardaneus86 commented 3 years ago

Similar to #67, #79 and #117 for other providers, but then for BLoC.

Would be very good to be able to set specific BLoC states and their properties to test widgets using Framy. Using @FramyUseProvider() doesn't seem sufficient, since BLoC requires a BlocProvider parent.

Currently working around this by making more minimal widgets that don't have any direct provider dependency, which might even be the preferred way to do this.