You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide more context regarding why you want that interface exposed? BlocListener applies it as a mixin so if you want to type your list of listeners you can use BlocListener.
@felangel, of course, I know.
But you should use BlocListener as generic or expose BlocListenerSingleChildWidget or create and export new interface (abstract class or mixin), which will be common to them.
You can't use classes as an external API without exporting the classes themselves.
@felangel, of course, I know. But you should use BlocListener as generic or expose BlocListenerSingleChildWidget or create and export new interface (abstract class or mixin), which will be common to them.
You can't use classes as an external API without exporting the classes themselves.
What’s your use case for needing the interface? It was just added to work around a bug in Dart (will double check if it’s still need shortly).
Right now package export
but doesn't expose
BlocListenerSingleChildWidget
interfaceThe text was updated successfully, but these errors were encountered: