This reverts commit 99324105da. It was implicated in https://github.com/flutter/flutter/issues/45258
99324105da