This reverts commit 35efb76a06. Reverting for https://github.com/flutter/flutter/issues/123859
35efb76a06