You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
finalList<DiagnosticsNode> information =<DiagnosticsNode>[
376
-
ErrorSummary('No Overlay widget found.'),
379
+
ErrorSummary('No Overlay widget found${hiddenByBoundary ? ' within the closest LookupBoundary' : ''}.'),
380
+
if (hiddenByBoundary)
381
+
ErrorDescription(
382
+
'There is an ancestor Overlay widget, but it is hidden by a LookupBoundary.'
383
+
),
377
384
ErrorDescription('${debugRequiredFor?.runtimeType ?? 'Some'} widgets require an Overlay widget ancestor for correct operation.'),
378
385
ErrorHint('The most common way to add an Overlay to an application is to include a MaterialApp, CupertinoApp or Navigator widget in the runApp() call.'),
379
386
if (debugRequiredFor !=null) DiagnosticsProperty<Widget>('The specific widget that failed to find an overlay was', debugRequiredFor, style:DiagnosticsTreeStyle.errorProperty),
@@ -389,7 +396,7 @@ class Overlay extends StatefulWidget {
389
396
}
390
397
391
398
/// The [OverlayState] from the closest instance of [Overlay] that encloses
392
-
/// the given context, if any.
399
+
/// the given context within the closest [LookupBoundary], if any.
393
400
///
394
401
/// Typical usage is as follows:
395
402
///
@@ -413,8 +420,8 @@ class Overlay extends StatefulWidget {
0 commit comments