FabRegistry class

Global, dependency-free registry signaling that the current screen shows a bottom-right Floating Action Button (or similar corner action).

Floating overlays that live in the same corner — e.g. the Itzli chat bubble — read this to step aside and avoid covering the page's primary action button.

Uses a counter (push/pop) so stacked/nested pages with FABs behave correctly. Any module can use it without depending on neom_ia.

Usage in a page with a bottom-right FAB:

@override
void initState() { super.initState(); FabRegistry.push(); }
@override
void dispose() { FabRegistry.pop(); super.dispose(); }

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

present → bool
Whether at least one screen currently shows a bottom-right FAB.
no setter

Static Methods

pop() → void
Declare that a previously-pushed FAB is gone.
push() → void
Declare that a bottom-right FAB is now on screen.
reset() → void
Force-clear (e.g. on hard route resets).