- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- Notification
- Annotations
- @DomName('Notification')
- @Experimental()
Constants
- clickEvent → EventStreamProvider<Event>
-
Static factory designed to expose
click
events to event handlers that are not necessarily instances of Notification.@DocsEditable(), @DomName('Notification.clickEvent')const EventStreamProvider<Event>
('click') - closeEvent → EventStreamProvider<Event>
-
Static factory designed to expose
close
events to event handlers that are not necessarily instances of Notification.@DocsEditable(), @DomName('Notification.closeEvent')const EventStreamProvider<Event>
('close') - errorEvent → EventStreamProvider<Event>
-
Static factory designed to expose
error
events to event handlers that are not necessarily instances of Notification.@DocsEditable(), @DomName('Notification.errorEvent')const EventStreamProvider<Event>
('error') - showEvent → EventStreamProvider<Event>
-
Static factory designed to expose
show
events to event handlers that are not necessarily instances of Notification.@DocsEditable(), @DomName('Notification.showEvent')const EventStreamProvider<Event>
('show')
Static Properties
- instanceRuntimeType → Type
-
@Deprecated("Internal Use Only"), read-only
- supported → bool
-
Checks if this type is supported on the current platform.
read-only
Static Methods
Constructors
- Notification(String title, { String dir: null, String body: null, String lang: null, String tag: null, String icon: null })
-
factory
- Notification.internal_()
Properties
- body → String
-
@DocsEditable(), @DomName('Notification.body'), @Experimental(), read-only
- data → Object
-
@DocsEditable(), @DomName('Notification.data'), @Experimental(), read-only
- dir → String
-
@DocsEditable(), @DomName('Notification.dir'), @Experimental(), read-only
- icon → String
-
@DocsEditable(), @DomName('Notification.icon'), @Experimental(), read-only
- lang → String
-
@DocsEditable(), @DomName('Notification.lang'), @Experimental(), read-only
- onClick → Stream<Event>
-
Stream of
click
events handled by thisNotification
.@DocsEditable(), @DomName('Notification.onclick'), read-only - onClose → Stream<Event>
-
Stream of
close
events handled by thisNotification
.@DocsEditable(), @DomName('Notification.onclose'), read-only - onError → Stream<Event>
-
Stream of
error
events handled by thisNotification
.@DocsEditable(), @DomName('Notification.onerror'), read-only - onShow → Stream<Event>
-
Stream of
show
events handled by thisNotification
.@DocsEditable(), @DomName('Notification.onshow'), read-only - permission → String
-
@DocsEditable(), @DomName('Notification.permission'), read-only
- silent → bool
-
@DocsEditable(), @DomName('Notification.silent'), @Experimental(), read-only
- tag → String
-
@DocsEditable(), @DomName('Notification.tag'), @Experimental(), read-only
- title → String
-
@DocsEditable(), @DomName('Notification.title'), @Experimental(), read-only
- vibrate → List<int>
-
@DocsEditable(), @DomName('Notification.vibrate'), @Experimental(), read-only
- hashCode → int
-
read-only, inherited
- on → Events
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
close(
) → void -
@DocsEditable(), @DomName('Notification.close')
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
toString(
) → String -
Returns the result of the JavaScript objects
toString
method.inherited