5min chapter

Flying High with Flutter cover image

Very Good Flutter - Flying High with Flutter #31

Flying High with Flutter

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode