mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
When registering the `WidgetPreviewScaffoldInspectorService`, we were originally setting it after the bindings were initialized. This meant that the widget inspector service extensions were registered with the original `WidgetInspectorService` and were not taking the custom codepaths in the override. This change moves the `WidgetPreviewScaffoldInspectorService` initialization to before the bindings are initialized.