mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
In some cases, the window needs to be redrawn without a resize. This adds a callback for that case to trigger a repaint. Since there's no embedding API for repainting, trigger it with a window metrics event using the current window size. Fixes https://github.com/flutter/flutter/issues/30731