BloomAnnouncer class
Pure-Dart reactive state controller for broadcasting live screen-reader announcements.
Maintains reactive signals for polite and assertive announcement channels.
// Dispatch an announcement from anywhere in your app:
BloomAnnouncer.instance.announce('Route changed to Settings');
Constructors
Properties
-
assertiveMessage
→ Signal<
String> -
Reactive signal containing the latest assertive announcement text.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
politeMessage
→ Signal<
String> -
Reactive signal containing the latest polite announcement text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
announce(
String message, {AriaLive mode = AriaLive.polite}) → void -
Announces
messageto screen readers. -
announceAssertive(
String message) → void - Convenience shortcut for assertive announcements (interrupts user immediately).
-
announcePolite(
String message) → void - Convenience shortcut for polite announcements (waits until user is idle).
-
clear(
) → void - Clears both announcement channels.
-
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
- instance → BloomAnnouncer
-
Global singleton instance of BloomAnnouncer.
final