Sitelet https://github.com/flutter/flutter/pull/171602
Skip to content

[ Widget Preview ] Add a "Restart Widget Previewer" button to the widget preview scaffold - #171602

Merged
auto-submit[bot] merged 2 commits into
masterfrom
widget_preview_restart_button
Jul 4, 2025
Merged

auto-submit[bot] merged 2 commits into
masterfrom
widget_preview_restart_button

Conversation

@bkonyi

@bkonyi bkonyi commented Jul 3, 2025

Copy link
Copy Markdown
Contributor

This allows for developers to perform a hot restart on the preview environment in the case they get into a bad state.

This change adds a hotRestartPreviewer method to the widget-preview DTD service registered by the Flutter Tool, which is invoked by the previewer.

image

…get preview scaffold

This allows for developers to perform a hot restart on the preview
environment in the case they get into a bad state.

This change adds a 'hotRestartPreviewer' method to the 'widget-preview' DTD
service registered by the Flutter Tool, which is invoked by the
previewer.
@bkonyi
bkonyi requested a review from jyameo July 3, 2025 18:39
@github-actions github-actions Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jul 3, 2025

@jyameo jyameo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bkonyi bkonyi added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 4, 2025
@auto-submit
auto-submit Bot added this pull request to the merge queue Jul 4, 2025
Merged via the queue into master with commit bcab634 Jul 4, 2025
@auto-submit
auto-submit Bot deleted the widget_preview_restart_button branch July 4, 2025 18:25
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 4, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 4, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 7, 2025
mboetger pushed a commit to mboetger/flutter that referenced this pull request Jul 21, 2025
…get preview scaffold (flutter#171602)

This allows for developers to perform a hot restart on the preview
environment in the case they get into a bad state.

This change adds a `hotRestartPreviewer` method to the `widget-preview`
DTD service registered by the Flutter Tool, which is invoked by the
previewer.


![image](https://github.com/user-attachments/assets/477ce947-76a5-4e78-9769-0ee7f23f2ba6)
azatech pushed a commit to azatech/flutter that referenced this pull request Jul 28, 2025
…get preview scaffold (flutter#171602)

This allows for developers to perform a hot restart on the preview
environment in the case they get into a bad state.

This change adds a `hotRestartPreviewer` method to the `widget-preview`
DTD service registered by the Flutter Tool, which is invoked by the
previewer.


![image](https://github.com/user-attachments/assets/477ce947-76a5-4e78-9769-0ee7f23f2ba6)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 14, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 14, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 15, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 15, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2025
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
…get preview scaffold (flutter#171602)

This allows for developers to perform a hot restart on the preview
environment in the case they get into a bad state.

This change adds a `hotRestartPreviewer` method to the `widget-preview`
DTD service registered by the Flutter Tool, which is invoked by the
previewer.


![image](https://github.com/user-attachments/assets/477ce947-76a5-4e78-9769-0ee7f23f2ba6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants