Tag

BuildContext

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 4, 2024 · Mobile Development

Understanding BuildContext in Flutter: Concepts, Properties, and Practical Usage

This article explains the role of BuildContext in Flutter, how to safely use it across asynchronous operations, defines a global navigatorKey for context access, and demonstrates common properties, methods, and scenarios such as navigation, theming, media queries, dialogs, state management, and asset loading.

BuildContextFlutterMobile Development
0 likes · 9 min read
Understanding BuildContext in Flutter: Concepts, Properties, and Practical Usage
Xianyu Technology
Xianyu Technology
Dec 25, 2018 · Mobile Development

Understanding Flutter Exceptions and Lifecycle Management

The Xianyu tech team’s 2018 Flutter migration cut exception rates from several per‑thousand to under one by targeting two main stack‑trace groups—setState‑related and BuildContext‑related errors—while emphasizing proper lifecycle checks such as verifying mounted before setState and using the correct widget context.

BuildContextExceptionFlutter
0 likes · 6 min read
Understanding Flutter Exceptions and Lifecycle Management