1. Glossaryفەرهەنگی زاراوەکان
Key
کلیل
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

In Flutter, an identifier given to a so that Flutter can tell which old widget matches which new one when a list changes. A GlobalKey<FormState> also lets code reach a form's state.

لە ، ناسێنەرێکە کە دەدرێتە بۆ ئەوەی بزانێت کاتێک لیستێک دەگۆڕێت کام ویجێتی کۆن لەگەڵ کام ویجێتی نوێ یەک دەگرێتەوە. GlobalKey<FormState> ڕێگەش دەدات کۆد بگاتە دۆخی فۆرمێک.

Exampleنموونە

const MyApp({super.key}); passes the key on to the parent class.

const MyApp({super.key}); کلیلەکە بۆ کلاسی باوک دەنێرێت.

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

کلیلەکە، کلیلەکان، کلیلێک، کلیلی، کلیلەکانی، کلیلێکی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Proposed: کلیل, as in the registry's other key senses (array key, database key; other ids).

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

When to Use Keys - Flutter Widgets 101 Ep. 4Google for Developers · Englishئینگلیزی · 536K viewsبینین · 8.9K likesلایک · Partبەشی 2:16–4:58 (ofلە 9:40)

How keys work: when stateful widgets in a list swap places, Flutter matches old and new widgets by type and key, so state moves correctly.

چۆن کار دەکەن: کە لە لیستێکدا جێگۆڕکێ دەکەن، کۆن بەپێی جۆر و بە نوێیەکەی دەبەستێتەوە، بۆیە بە دروستی دەگوازرێتەوە.

Learn more inزیاتر فێربە لە