This reverts commit 2b3cd7f4. Fixes https://github.com/flutter/flutter/issues/127281.
Attach a file by drag & drop or click to upload