Resolves https://github.com/flutter/flutter/issues/134775. Before:  After: 