LiveActivityData constructor

const LiveActivityData({
  1. required String title,
  2. String? subtitle,
  3. double? progress,
  4. String? trailingText,
  5. String? leadingIcon,
  6. bool wakeScreen = false,
  7. double? staleMinutes,
  8. double? relevanceScore,
  9. int? color,
  10. bool wantsPushToken = false,
})

Implementation

const LiveActivityData({
  required this.title,
  this.subtitle,
  this.progress,
  this.trailingText,
  this.leadingIcon,
  this.wakeScreen = false,
  this.staleMinutes,
  this.relevanceScore,
  this.color,
  this.wantsPushToken = false,
});