Member-only story

An Alternative Way To Learn Reactive In Flutter

Fred Grott
3 min readJul 30, 2021

--

Want an easy and radically easy way to learn reactive in flutter? I am going to use my knowledge of how the Flutter Framework evolved to show you an easy way to learn reactive in flutter.

Core Of Reactive

Let’s go over the core features of reactive:

1. Immutables

2. A complex and powerful listenable

Now, there is an indirect requirement for dependency injection. But, let’s leave that alone for now.

Reactive gets introduced to each front-end framework this same way. First, an independent group comes up with a reactive extension to the underlying language of the framework. In Flutter’s case, it’s the RxDart plugin. And of course RxDart came up with their own powerful listenable Observable.

At the same time, the Flutter team came up with Inherited Widget and the notifier listenables.

Now for the radical.

The Radical

Scoped Model re-implements Inherited Model with just a plain listenable. But, what is the difference between that and the rest of the notifiers in flutter and by 3rd parties?

Well, only one of the Notifiers is in fact a powerful observable. If we really wanted to have a handle on…

--

--

Fred Grott
Fred Grott

No responses yet