Not documented.
- Inheritance
- Object
- EventTarget
- Notification
- Annotations
- DomName('Notification')
- Experimental()
Constants
-
EventStreamProvider<Event>
clickEvent
= const EventStreamProvider<Event>
('click') -
const
Static factory designed to expose
click
events to event handlers that are not necessarily instances of Notification.… -
EventStreamProvider<Event>
closeEvent
= const EventStreamProvider<Event>
('close') -
const
Static factory designed to expose
close
events to event handlers that are not necessarily instances of Notification.… -
EventStreamProvider<Event>
errorEvent
= const EventStreamProvider<Event>
('error') -
const
Static factory designed to expose
error
events to event handlers that are not necessarily instances of Notification.… -
EventStreamProvider<Event>
showEvent
= const EventStreamProvider<Event>
('show') -
const
Static factory designed to expose
show
events to event handlers that are not necessarily instances of Notification.…
Static Properties
Static Methods
Properties
- body → String
-
read-only
- dir → String
-
read-only
- icon → String
-
read-only
- lang → String
-
read-only
- on → Events
-
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- onClick → Stream<Event>
-
read-only
Stream of
click
events handled by thisNotification
. - onClose → Stream<Event>
-
read-only
Stream of
close
events handled by thisNotification
. - onError → Stream<Event>
-
read-only
Stream of
error
events handled by thisNotification
. - onShow → Stream<Event>
-
read-only
Stream of
show
events handled by thisNotification
. - permission → String
-
read-only
- tag → String
-
read-only
- title → String
-
read-only
Constructors
Methods
-
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
close(
) → void -
dispatchEvent(
Event event) → bool -
inherited
-
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited