| commit | 1af3032fa0ab85ab34fb0adc133602f087c01368 | [log] [tgz] |
|---|---|---|
| author | Danny Tuppeny <danny@tuppeny.com> | Wed Dec 17 12:14:14 2025 +0000 |
| committer | GitHub <noreply@github.com> | Wed Dec 17 12:14:14 2025 +0000 |
| tree | c3f2928eb73d9ce197bd615fcd68bbc6d65bd66b | |
| parent | 628b84260835513ccffdd640a3fc8e1134907dd5 [diff] |
Attempt to reconnect to DTD automatically if the connection drops (#9587) * Attempt to reconnect to DTD automatically if the connection drops - Repurposes the property editor "ReconnectingOverlay" as a more general "Connecting Overlay" also for the sidebar. - If a DTD connection drops, it will be retried up to 5 times (and the new connection sent to the ValueNotifier) - If the connection fails after all retries, a "Retry" button is shown to allow the user to restart connection attempts again - The periodic check for the connection being alive is now part of DTDManager instead of only the property editor - DTDManager now also emits state values so consumers can handle each state differently (rather than just connected/not connected) - Mock editor for Stager apps now has a "Drop Connection" button to similate DTD connection drops - Stager apps that use the mock editor now use a real DTDManager (since they connect to real DTD) and can simulate slow and failed connections - Removed the force refresh for reconnect, and instead just made the `_DtdConnectedScreen` use a `key` so that when the connection changes, the widget gets new state
Dart & Flutter DevTools is a suite of performance tools for Dart and Flutter.
For documentation on installing and trying out DevTools, please see our docs.
Contributions welcome! See our contributing page for an overview of how to build and contribute to the project.
By using Dart DevTools, you agree to the Google Terms of Service. To understand how we use data collected from this service, see the Google Privacy Policy.