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

Definitionپێناسە

The object that tells a widget's build method where the widget sits in the . Code uses it to find things above the widget, such as Theme.of(context), Navigator.of(context) or a provider.

ئەو ئۆبجێکتەیە کە بە میتۆدی buildـی ویجێتێک دەڵێت ویجێتەکە لە کوێی . کۆد بەکاری دەهێنێت بۆ دۆزینەوەی ئەو شتانەی لە سەرووی ویجێتەکەوەن، وەک Theme.of(context)، Navigator.of(context) یان providerـێک.

Exampleنموونە

context.watch<Counter>() looks up the tree from this widget's context to find the nearest Counter provider.

context.watch<Counter>() لە contextـی ئەم ویجێتەوە بەرەو سەرەوەی دارەکە دەگەڕێت بۆ دۆزینەوەی نزیکترین providerـی Counter.

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

A Flutter class name kept as it is, because students meet it in every build method. Proposed.

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

Videosڤیدیۆکان

How Flutter Works: The Three Trees #DecodingFlutter (2/6)Flutter · Englishئینگلیزی · 54K viewsبینین · 1.7K likesلایک · Partبەشی 2:47–4:12 (ofلە 7:40)

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