Revert "Add assert that the root widget has been attached. (#32437)" (#33068)

This reverts commit 069303d46f.
This commit is contained in:
Todd Volkert
2019-05-20 13:30:41 -07:00
committed by GitHub
parent 90f38907d7
commit e2042bae6d
2 changed files with 0 additions and 8 deletions

View File

@@ -175,8 +175,6 @@ class FlutterDriverExtension {
/// the result into a subclass of [Result], but that's not strictly required.
@visibleForTesting
Future<Map<String, dynamic>> call(Map<String, String> params) async {
assert(WidgetsBinding.instance.isRootWidgetAttached,
'No root widget is attached; have you remembered to call runApp()?');
final String commandKind = params['command'];
try {
final CommandHandlerCallback commandHandler = _commandHandlers[commandKind];