NotificationFlowStrings constructor

const NotificationFlowStrings({
  1. String valuePropositionTitle = 'Enable Notifications',
  2. String valuePropositionMessage = 'Stay updated with important alerts and messages.',
  3. String valuePropositionAcceptButton = 'Enable',
  4. String valuePropositionDeclineButton = 'Not Now',
  5. String goToSettingsTitle = 'Notifications Disabled',
  6. String goToSettingsMessage = 'To receive notifications, please enable them in your device settings.',
  7. String goToSettingsButton = 'Open Settings',
  8. String goToSettingsCancelButton = 'Cancel',
  9. String askAgainTitle = 'Enable Notifications?',
  10. String askAgainMessage = 'You previously declined notifications. Would you like to enable them now?',
  11. String askAgainAcceptButton = 'Yes, Enable',
  12. String askAgainDeclineButton = 'No Thanks',
  13. String webSettingsInstructionsTitle = 'Enable Notifications',
  14. String webSettingsInstructionsMessage = 'To enable notifications:\n\n' "1. Click the lock/info icon in your browser's address bar\n" '2. Find "Notifications" in the permissions list\n' '3. Change it from "Block" to "Allow"\n' '4. Refresh this page',
  15. String webSettingsInstructionsButton = 'Got It',
})

Implementation

const NotificationFlowStrings({
  this.valuePropositionTitle = 'Enable Notifications',
  this.valuePropositionMessage = 'Stay updated with important alerts and messages.',
  this.valuePropositionAcceptButton = 'Enable',
  this.valuePropositionDeclineButton = 'Not Now',
  this.goToSettingsTitle = 'Notifications Disabled',
  this.goToSettingsMessage =
      'To receive notifications, please enable them in your device settings.',
  this.goToSettingsButton = 'Open Settings',
  this.goToSettingsCancelButton = 'Cancel',
  this.askAgainTitle = 'Enable Notifications?',
  this.askAgainMessage =
      'You previously declined notifications. Would you like to enable them now?',
  this.askAgainAcceptButton = 'Yes, Enable',
  this.askAgainDeclineButton = 'No Thanks',
  this.webSettingsInstructionsTitle = 'Enable Notifications',
  this.webSettingsInstructionsMessage = 'To enable notifications:\n\n'
      "1. Click the lock/info icon in your browser's address bar\n"
      '2. Find "Notifications" in the permissions list\n'
      '3. Change it from "Block" to "Allow"\n'
      '4. Refresh this page',
  this.webSettingsInstructionsButton = 'Got It',
});