State management भन्ने कुरा यो हो कि एक अनुप्रयोग आफ्नो डेटा (state) लाई कसरी व्यवस्थापन गर्छ र अद्यावधिक गर्छ र UI मा परिवर्तनहरू प्रतिफलित गर्छ। जब अनुप्रयोगहरू बढ्छन्, state लाई राम्रोसँग व्यवस्थापन गर्नु महत्त्वपूर्ण हुन्छ, र Flutter ले built-in mechanisms (setState) र धेरै लाइब्रेरीहरू (Provider, Riverpod, Bloc) प्रदान गर्छ।
State के हो
STATE = data that can change and affects the UI:
→ UI state: is a checkbox checked? what's in a text field? is a menu open?
→ app state: the logged-in user, items in a cart, fetched data
→ When state changes, the UI must UPDATE to reflect it.
