WIP #48 Notifications with mobile_app component

This commit is contained in:
estevez-dev
2019-06-16 00:08:13 +03:00
parent 5b99ade088
commit 491c2b0dc0
4 changed files with 99 additions and 24 deletions

View File

@ -173,6 +173,17 @@ class ServiceCallEvent {
ServiceCallEvent(this.domain, this.service, this.entityId, this.additionalParams);
}
class ShowDialogEvent {
final String title;
final String body;
final String positiveText;
final String negativeText;
final onPositive;
final onNegative;
ShowDialogEvent({this.title, this.body, this.positiveText: "Ok", this.negativeText: "Cancel", this.onPositive, this.onNegative});
}
class ShowEntityPageEvent {
Entity entity;