This reverts commit f1e7fe8142a0b75da74617bec617589882a730a7. This fix is in https://github.com/flutter/packages/pull/39