BuildContext

Interface
Represents the context in which a Widget is being built.

Provides access to the widget's parent, theme, and other contextual information.

Static Fields

Current: BuildContext
ReconcilerCurrent: BuildContext

Properties

Descriptor: Widget
IsUserWidget: bool
ParentContext: BuildContext

Static Methods

FindParent<T>(context: BuildContext): BuildContext
GetAncestorChain(start: BuildContext): IEnumerable<BuildContext>
GetDirectParent(current: VisualElement): BuildContext
GetUserTarget(start: BuildContext, except: BuildContext): BuildContext

Inherited Members

Extension Methods

ToDiagnosticsNodeSafeDescribeIdentityShortHashToStringNullable

On this page