Inheritance
System.Object
WidgetsBinding
public class WidgetsBinding : RendererBinding, HitTestable, HitTestDispatcher, HitTestTarget
Constructors
Declaration
Fields
Declaration
protected bool debugBuildingDirtyElements
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly WidgetInspectorService widgetInspectorService
Field Value
Properties
Declaration
public BuildOwner buildOwner { get; }
Property Value
Declaration
public FocusManager focusManager { get; }
Property Value
Declaration
public static WidgetsBinding instance { get; set; }
Property Value
Declaration
public RenderObjectToWidgetElement<RenderBox> renderViewElement { get; }
Property Value
Methods
Declaration
public void addObserver(WidgetsBindingObserver observer)
Parameters
Declaration
public void attachRootWidget(Widget rootWidget)
Parameters
Type |
Name |
Description |
Widget |
rootWidget |
|
Declaration
public void detachRootWidget()
Declaration
protected virtual void dispatchLocalesChanged(List<Locale> locales)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Locale> |
locales |
|
Declaration
protected override void drawFrame()
Overrides
Declaration
protected virtual void handleLocaleChanged()
Declaration
protected override void handleMetricsChanged()
Overrides
Declaration
protected override void handlePlatformBrightnessChanged()
Overrides
Declaration
public void handlePopRoute()
handleTextScaleFactorChanged()
Declaration
protected override void handleTextScaleFactorChanged()
Overrides
Declaration
public bool removeObserver(WidgetsBindingObserver observer)
Parameters
Returns
Type |
Description |
System.Boolean |
|