LocalizationOptions constructor
LocalizationOptions(
- String languageCode, {
- String notificationReportModeTitle = 'Application error occurred',
- String notificationReportModeContent = 'Click here to send error report to support team.',
- String dialogReportModeTitle = 'Crash',
- String dialogReportModeDescription = 'Unexpected error occurred in application. Error report is ready to' ' send to support team. Please click Accept to send error report ' 'or Cancel to dismiss report.',
- String dialogReportModeAccept = 'Accept',
- String dialogReportModeCancel = 'Cancel',
- String pageReportModeTitle = 'Crash',
- String pageReportModeDescription = 'Unexpected error occurred in application. Error report is ready to' ' send to support team. Please click Accept to send error report ' 'or Cancel to dismiss report.',
- String pageReportModeAccept = 'Accept',
- String pageReportModeCancel = 'Cancel',
- String toastHandlerDescription = 'Error occurred:',
- String snackbarHandlerDescription = 'Error occurred:',
Implementation
LocalizationOptions(
this.languageCode, {
this.notificationReportModeTitle = 'Application error occurred',
this.notificationReportModeContent =
'Click here to send error report to support team.',
this.dialogReportModeTitle = 'Crash',
this.dialogReportModeDescription =
'Unexpected error occurred in application. Error report is ready to'
' send to support team. Please click Accept to send error report '
'or Cancel to dismiss report.',
this.dialogReportModeAccept = 'Accept',
this.dialogReportModeCancel = 'Cancel',
this.pageReportModeTitle = 'Crash',
this.pageReportModeDescription =
'Unexpected error occurred in application. Error report is ready to'
' send to support team. Please click Accept to send error report '
'or Cancel to dismiss report.',
this.pageReportModeAccept = 'Accept',
this.pageReportModeCancel = 'Cancel',
this.toastHandlerDescription = 'Error occurred:',
this.snackbarHandlerDescription = 'Error occurred:',
});