This reverts commit 6a3ea7eb83e2deba46667ca416b9b07141795966.
See https://github.com/flutter/flutter/pull/10000