This reverts commit 47fc2d03f3 as it causes https://github.com/flutter/flutter/issues/15368.
47fc2d03f3