Back to Flutter Boost

PageVisibilityBinding class

doc/api/page_visibility/PageVisibilityBinding-class.html

5.0.25.2 KB
Original Source

PageVisibilityBinding class

Properties

hashCodeint The hash code for this object. [...] read-only, inherited runtimeTypeType A representation of the runtime type of the object. read-only, inherited

Methods

addGlobalObserver(GlobalPageVisibilityObserver observer) → void Register observer to _globalListeners set addObserver(PageVisibilityObserver observer, Route route) → void Registers the given object and route as a binding observer. dispatchGlobalBackgroundEvent(Route route) → void dispatchGlobalForgroundEvent(Route route) → void dispatchGlobalPageHideEvent(Route route) → void dispatchGlobalPagePopEvent(Route route) → void dispatchGlobalPagePushEvent(Route route) → void dispatchGlobalPageShowEvent(Route route) → void dispatchPageBackgroundEvent(Route route) → void dispatchPageForgroundEvent(Route route) → void dispatchPageHideEvent(Route route) → void dispatchPagePopEvent(Route route) → void dispatchPagePushEvent(Route route) → void dispatchPageShowEvent(Route route) → void dispatchPageShowEventOnPageShowFirstTime(Route route) → void When page show first time,we should dispatch event in FrameCallback to avoid the page can't receive the show event noSuchMethod(Invocation invocation) → dynamic Invoked when a non-existent method or property is accessed. [...] inherited removeGlobalObserver(GlobalPageVisibilityObserver observer) → void Register observer from _globalListeners set removeObserver(PageVisibilityObserver observer) → void Unregisters the given observer. toString() → String A string representation of this object. [...] inherited

Operators

operator ==(Object other) → bool The equality operator. [...] inherited

Static Properties

instancePageVisibilityBinding final