Flutter App Lifecycles For Designers

Fred Grott
6 min readSep 8, 2021

One of the most confusing ideas transitioning from Android and/or iOS is to understand how Flutter handles its application lifecycle.

Where’s my onCreate()? Where’s my viewDidLoad()? Why is the Sky Dark Purple? What? Not everyone’s sky is purple? Why not!

The Google Android Application Lifecycle

In Android Native Application Development, the Activity is actually most of the Application lifecycle with such methods as:

- onCreate

- onStart

- onResume

- onPause

- onStop

- onRestart

- onDestroy

And the pain part was the business logic ending up in the onCreate among other pains.

The Apple iOS Application Lifecycle

With Apple iOS native application development, the lifecycle of an UIController is:

- viewDidLoad

- viewWillAppear

- viewDidAppear

- viewWillDisappear

- viewDidDisappear

- viewDidUnload

--

--

Fred Grott
Fred Grott

No responses yet