Interface BuildContext
Syntax
public interface BuildContext
Properties
owner
Declaration
BuildOwner owner { get; }
Property Value
size
Declaration
Property Value
widget
Declaration
Property Value
Methods
ancestorInheritedElementForWidgetOfExactType(Type)
Declaration
InheritedElement ancestorInheritedElementForWidgetOfExactType(Type targetType)
Parameters
Type |
Name |
Description |
System.Type |
targetType |
|
Returns
ancestorRenderObjectOfType(TypeMatcher)
Declaration
RenderObject ancestorRenderObjectOfType(TypeMatcher matcher)
Parameters
Returns
ancestorStateOfType(TypeMatcher)
Declaration
State ancestorStateOfType(TypeMatcher matcher)
Parameters
Returns
ancestorWidgetOfExactType(Type)
Declaration
Widget ancestorWidgetOfExactType(Type targetType)
Parameters
Type |
Name |
Description |
System.Type |
targetType |
|
Returns
findRenderObject()
Declaration
RenderObject findRenderObject()
Returns
inheritFromElement(InheritedElement, Object)
Declaration
InheritedWidget inheritFromElement(InheritedElement ancestor, object aspect = null)
Parameters
Returns
inheritFromWidgetOfExactType(Type, Object)
Declaration
InheritedWidget inheritFromWidgetOfExactType(Type targetType, object aspect = null)
Parameters
Type |
Name |
Description |
System.Type |
targetType |
|
System.Object |
aspect |
|
Returns
rootAncestorStateOfType(TypeMatcher)
Declaration
State rootAncestorStateOfType(TypeMatcher matcher)
Parameters
Returns
visitAncestorElements(ElementVisitorBool)
Declaration
void visitAncestorElements(ElementVisitorBool visitor)
Parameters
visitChildElements(ElementVisitor)
Declaration
void visitChildElements(ElementVisitor visitor)
Parameters