Example #1
0
 public NotificationCard(
     Notification notification,
     User user,
     Action onTap = null,
     Key key      = null
     ) : base(key)
 {
     this.notification = notification;
     this.user         = user;
     this.onTap        = onTap;
 }
 public NotificationCard(
     Notification notification,
     User user,
     List <User> mentions,
     Action onTap = null,
     Key key      = null
     ) : base(key)
 {
     this.notification = notification;
     this.user         = user;
     this.onTap        = onTap;
     this.mentions     = mentions;
 }
Example #3
0
 public NotificationCard(
     Notification notification,
     User user,
     List <User> mentions,
     Action onTap = null,
     Action <string> pushToUserDetail = null,
     Action <string> pushToTeamDetail = null,
     bool isLast = false,
     Key key     = null
     ) : base(key: key)
 {
     this.notification     = notification;
     this.user             = user;
     this.mentions         = mentions;
     this.onTap            = onTap;
     this.pushToUserDetail = pushToUserDetail;
     this.pushToTeamDetail = pushToTeamDetail;
     this.isLast           = isLast;
 }