Explore Library
QuizBeginner

setState() for UI Updates

setState() tells Flutter to rebuild the widget after state changes.

What does calling setState() do in a StatefulWidget?