context property
BuildContext?
get
context
Implementation
BuildContext? get context
{
if (this._listeners != null)
for (IModelListener listener in this._listeners!)
{
if (listener is State && (listener as State).mounted == true) return (listener as State).context;
}
if (this.parent != null) return this.parent!.context;
return applicationKey.currentContext;
}