Add missing docs to public function. (#16651)

Adding missing docs to the forceRebuild function in the widget inspector.
This commit is contained in:
Greg Spencer
2018-04-17 12:19:15 -07:00
committed by GitHub
parent 58d3493445
commit 824b806bfc

View File

@@ -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
Future<Null> forceRebuild() {
final WidgetsBinding binding = WidgetsBinding.instance;