Definitionپێناسە
In Flutter, the object of a that lives on while the widget is rebuilt and keeps its changing data. It has the methods initState, build, setState and dispose.
لە ، ئەو ئۆبجێکتەی کە لە کاتی دووبارە دروستکردنەوەی ویجێتەکەدا دەمێنێتەوە و دراوە گۆڕاوەکانی هەڵدەگرێت. میتۆدەکانی initState، build، setState و disposeـی هەیە.
Exampleنموونە
class _CounterPageState extends State<CounterPage> is the State object that holds count.
class _CounterPageState extends State<CounterPage> ئەو ئۆبجێکتی دۆخەیە کە count هەڵدەگرێت.
Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
ئۆبجێکتی دۆخەکە، ئۆبجێکتەکانی دۆخ، ئۆبجێکتێکی دۆخ
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Proposed: the registry's object «ئۆبجێکت» + دۆخ. Kept apart from app-state (the general idea of state).
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
The life of a State object step by step: initState, didChangeDependencies, didUpdateWidget, build, dispose and what setState really does.
ژیانی هەنگاو بە هەنگاو: initState، didChangeDependencies، didUpdateWidget، build، dispose و setState لە ڕاستیدا چی دەکات.
Learn more inزیاتر فێربە لە
- Stateless and Stateful Widgetsویجێتە بێدۆخەکان و ویجێتە دۆخدارەکان
- ChangeNotifier, ChangeNotifierProvider and MultiProviderChangeNotifier، ChangeNotifierProvider و MultiProvider
- Futures, async and await in DartFuture،
asyncوawaitلە Dartـدا - Widgets and the Widget Treeویجێتەکان و داری ویجێتەکان
- FutureProvider and StreamProviderFutureProvider و StreamProvider
- Dart Basics: Variables, Types and Control Flowبنەماکانی Dart: گۆڕاوەکان، جۆرەکان و ڕێڕەوی کۆنترۆڵ
- Buttonsدوگمەکان
- Splash Screensشاشەکانی دەستپێک
- Getting Data from the Internet: HTTP and JSONوەرگرتنی دراوە لە ئینتەرنێت: HTTP و JSON
- Firebase and Cloud FirestoreFirebase و Cloud Firestore
- The Consumer Widgetویجێتی Consumer
- Project: A To-Do App with Providersپڕۆژە: ئەپێکی ئەرکەکان بە providerـەکان