AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Difference Between Qubit and Block
With qubit you might be used to just being able to call emit from anywhere in the class. With block like one of the core differences right is that you only want to trigger state changes in response to an event. There's a difference between the emit function that qubit has access to and the emitter that your event handler gets. All of the flutter widgets like block builder, block listener, block provider they all are compatible with block and qubit so that if you migrate between those you don't have to change any of your UI code.