resetInternalState method

  1. @visibleForTesting
  2. @override
void resetInternalState()
override

Allows the test framework to reset the lifecycle state and framesEnabled back to their initial values.

Implementation

@visibleForTesting
@override
void resetInternalState() {
  // ignore: invalid_use_of_visible_for_testing_member, https://github.com/dart-lang/sdk/issues/41998
  super.resetInternalState();
  _debugShowWidgetInspectorOverrideNotifierObject?.dispose();
  _debugShowWidgetInspectorOverrideNotifierObject = null;
}