Suitmedia interview question

What is the difference between Stateless and Stateful widgets in Flutter?

Interview Answer

Anonymous

25 Nov 2024

A Stateless widget is immutable, meaning it cannot change its state after it has been built and A Stateful widget is mutable, meaning it can maintain a dynamic state that may change during the widget's lifecycle.