LocalizationOptions class
Constructors
- 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:'})
Properties
- dialogReportModeAccept → String
-
final
- dialogReportModeCancel → String
-
final
- dialogReportModeDescription → String
-
final
- dialogReportModeTitle → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → String
-
final
- notificationReportModeContent → String
-
final
- notificationReportModeTitle → String
-
final
- pageReportModeAccept → String
-
final
- pageReportModeCancel → String
-
final
- pageReportModeDescription → String
-
final
- pageReportModeTitle → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snackbarHandlerDescription → String
-
final
- toastHandlerDescription → String
-
final
Methods
-
copyWith(
{String? languageCode, String? notificationReportModeTitle, String? notificationReportModeContent, String? dialogReportModeTitle, String? dialogReportModeDescription, String? dialogReportModeAccept, String? dialogReportModeCancel, String? pageReportModeTitle, String? pageReportModeDescription, String? pageReportModeAccept, String? pageReportModeCancel, String? toastHandlerDescription, String? snackbarHandlerDescription}) → LocalizationOptions - Helper method used to copy values of current LocalizationOptions with new values passed in method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
buildDefaultChineseOptions(
) → LocalizationOptions -
buildDefaultDutchOptions(
) → LocalizationOptions -
buildDefaultEnglishOptions(
) → LocalizationOptions -
buildDefaultFrenchOptions(
) → LocalizationOptions -
buildDefaultGermanOptions(
) → LocalizationOptions -
buildDefaultHindiOptions(
) → LocalizationOptions -
buildDefaultItalianOptions(
) → LocalizationOptions -
buildDefaultKoreanOptions(
) → LocalizationOptions -
buildDefaultMalayOptions(
) → LocalizationOptions -
buildDefaultPolishOptions(
) → LocalizationOptions -
buildDefaultPortugueseOptions(
) → LocalizationOptions -
buildDefaultRussianOptions(
) → LocalizationOptions -
buildDefaultSpanishOptions(
) → LocalizationOptions