[SelectionOverlay]Move the debug statement to the scope of the assertion. (#108508)
This commit is contained in:
@@ -132,7 +132,7 @@ class _OverlayExampleState extends State<OverlayExample> {
|
||||
);
|
||||
|
||||
// Add the OverlayEntry to the Overlay.
|
||||
Overlay.of(context)!.insert(overlayEntry!);
|
||||
Overlay.of(context, debugRequiredFor: widget)!.insert(overlayEntry!);
|
||||
}
|
||||
|
||||
// Remove the OverlayEntry.
|
||||
|
||||
Reference in New Issue
Block a user