flutter-bloc-patterns icon indicating copy to clipboard operation
flutter-bloc-patterns copied to clipboard

What's the best way to extend a Bloc?

Open agostinofiscale opened this issue 1 year ago • 0 comments
trafficstars

Hi everyone, I'm playing with the package and I found the necessity to extend a Bloc. While I'm in a detail page I can edit the selected item but by design DetailsEvent is sealed so if I try to extends an event from it and put it in a on instruction it doesn't work. I know I can make another Bloc to handle every other operation but I would love to know if there is any way to do this with the current bloc or if it will be supported!

Thank you.

agostinofiscale avatar Mar 16 '24 00:03 agostinofiscale