isTopLevelWindowInsideBrowser property
bool
get
isTopLevelWindowInsideBrowser
Returns true if this controller for the top-level window inside a browser.
Very limited features are available in browser.
Implementation
bool get isTopLevelWindowInsideBrowser =>
!_hasChangedInstance &&
!identical(html.window, _window) &&
identical(instance, this);