HarborFrameRegistry class
Everything frames in one view know about each other: which is on top (where a toast goes) and the list the inspector reads.
Constructors
Properties
-
frames
→ List<
HarborController> -
Every frame mounted in this view, outermost first.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- root → HarborController?
-
The outermost frame, where toasts go when asked to stay put.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topmost → HarborController?
-
The page on top: the frame a toast goes to. Only the first frame of
each route (and of each sheet over the root) counts, so a frame embedded in
a page never takes a page's toasts; among those, the most recently opened
whose route is showing.
no setter
Methods
-
addObserver(
HarborFrameObserver observer) → void -
Tells
observerof every frame that joins or leaves from now on, after the drawn frame it happens in. Adding one observer twice reports to it twice, as a listener added twice to aChangeNotifieris called twice. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeObserver(
HarborFrameObserver observer) → void -
Stops telling
observer; one registration is removed. Events still waiting for the end of the drawn frame are not delivered to it. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited