Catégories
Développement

Flutter en image

iOS et Android

Tout est widget

https://flutter.dev/docs/resources/technical-overview
A mathematical formula of UI = f(state). 'UI' is the layout on the screen. 'f' is your build methods. 'state' is the application state.
https://flutter.dev/docs/development/data-and-backend/state-mgmt/declarative

Les états : app and ephemeral states

A flow chart. Start with 'Data'. 'Who needs it?'. Three options: 'Most widgets', 'Some widgets' and 'Single widget'. The first two options both lead to 'App state'. The 'Single widget' option leads to 'Ephemeral state'.