everything that exists in memory when the app is running and a even better definition could be: state is whatever data you need in order to rebuild your UI at any moment in time.
really easy to achieve. Like a list for example, in Android you need some files in order to make a list work. • A layout that describe how the items should be displayed • A layout with recyclerview/listview • An adapter/viewholder • A class that will tie everything together Even for a simple list you need everything above! No way!
SwiftUI and UIKit | by Robert Mejia | Flawless iOS • Flutter: Stateful vs Stateless Widget | by Souvik Biswas | Flutter Community • Content on Declarative UI