mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Safely clear SnackBack and BottomSheet placeholders Correct one stocks demo bug: displaying the stock symbol viewer (single tap on a row) while a BottomSheet or SnackBar was up, would assert. Thep SnackBack and BottomSheet placeholder keys are cleared when they're obscured by a route with an opaque OverlayEntry. So in that case there's no need to try and clear the placeholder's child again.