1. Glossaryفەرهەنگی زاراوەکان
Lifting state up
بەرزکردنەوەی دۆخ
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

Moving a piece of up to the nearest common parent of all the widgets (or components) that read it or change it, so that they share one copy.

گواستنەوەی دۆخێکە بۆ سەرەوە، بۆ نزیکترین هاوبەشی هەموو ئەو بەشانەی دەیخوێننەوە یان دەیگۆڕن، بۆ ئەوەی هەموویان یەک کۆپی بەکار بهێنن.

Exampleنموونە

The text colour is used by a Text and changed by two buttons, so it is lifted up into their parent HomePage, which becomes a stateful widget.

ڕەنگی دەقەکە Text بەکاری دەهێنێت و دوو دوگمە دەیگۆڕن، بۆیە بەرز دەکرێتەوە بۆ باوکەکەیان HomePage کە دەبێتە .

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

بەرزکردنەوەی دۆخی

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

Proposed: بەرزکردنەوە ('lifting'); the official name in Flutter and React is 'lifting state up'.

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

Videosڤیدیۆکان

Pragmatic State Management in Flutter (Google I/O'19)Flutter · Englishئینگلیزی · 471K viewsبینین · 8K likesلایک · Partبەشی 9:50–11:53 (ofلە 33:24)

UI is a function of state, and lifting state up: two widgets share data by keeping it in their nearest common parent.

(UI=f(state)\text{UI}=f(\text{state}))، هەروەها : دوو هەمان بەکار دەهێنن چونکە لە نزیکترین هاوبەشیاندا هەڵدەگیرێت.

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