Unverified Commit 824b806b authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Add missing docs to public function. (#16651)

Adding missing docs to the forceRebuild function in the widget inspector.
parent 58d34934
...@@ -290,6 +290,11 @@ class WidgetInspectorService { ...@@ -290,6 +290,11 @@ class WidgetInspectorService {
); );
} }
/// Cause the entire tree to be rebuilt. This is used by development tools
/// when the application code has changed and is being hot-reloaded, to cause
/// the widget tree to pick up any changed implementations.
///
/// This is expensive and should not be called except during development.
@protected @protected
Future<Null> forceRebuild() { Future<Null> forceRebuild() {
final WidgetsBinding binding = WidgetsBinding.instance; final WidgetsBinding binding = WidgetsBinding.instance;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment