Inclu Cat
Aug 5, 2021

Great article!!!

I have experience with many different languages and never understood the current situation of using the third-party packages for state management in Flutter.

I have one question.

You use the TimerPageManager instance as a global variable.

Since that class is tightly bound to TimerPage, I thought it would be a good idea to make it a variable of _TimerPageState.

(i.e. generated by the constructor of _TimerPageState and destroyed when _TimerPageState is destroyed)

Is there a problem with doing so? (e.g. in performance)

Is it just a matter of preference?

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Inclu Cat
Inclu Cat

Written by Inclu Cat

A solo developer living in Japan who is fighting (or wants to fight) the wall of the digital divide.

Responses (1)

Write a response