Example #1
0
        protected override void initInstances()
        {
            base.initInstances();
            instance = this;

            D.assert(() => {
                // _debugAddStackFilters();
                return(true);
            });

            _buildOwner = new BuildOwner();
            buildOwner.onBuildScheduled = _handleBuildScheduled;
            window.onLocaleChanged     += handleLocaleChanged;
            widgetInspectorService      = new WidgetInspectorService();

            // window.onAccessibilityFeaturesChanged = handleAccessibilityFeaturesChanged;
            // SystemChannels.navigation.setMethodCallHandler(_handleNavigationInvocation);
            // FlutterErrorDetails.propertiesTransformers.add(transformDebugCreator);
        }
Example #2
0
 public WidgetInspectorService(WidgetsBinding widgetsBinding)
 {
     this.widgetsBinding = widgetsBinding;
 }