ToastService class

Setups a service for sending Toast.

Constructors

ToastService({required String appName, required String companyName, required String productName, String? subProductName, String? versionInformation})

Properties

appName String
Name of the application.
final
companyName String
Name of the company.
final
hashCode int
The hash code for this object.
no setterinherited
productName String
Name of the product.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<ToastEvent>
Stream yeilding events on the Toast.
getter/setter pair
subProductName String?
(Optional) Name of the sub product.
final
versionInformation String?
(Optional) Version information.
final

Methods

dispose() → void
Releases resources allocated to the instance of ToastService.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(Toast toast) → void
Shows a Toast on the desktop.
toString() String
A string representation of this object.
inherited

Operators

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