WiredashLocalizations class abstract
Callers can lookup localized strings with an instance of WiredashLocalizations
returned by WiredashLocalizations.of(context)
.
Applications need to include WiredashLocalizations.delegate()
in their app's
localizationDelegates
list, and the locales they support in the app's
supportedLocales
list. For example:
import 'l10n/wiredash_localizations.g.dart';
return MaterialApp(
localizationsDelegates: WiredashLocalizations.localizationsDelegates,
supportedLocales: WiredashLocalizations.supportedLocales,
home: MyApplicationHome(),
);
Update pubspec.yaml
Please make sure to update your pubspec.yaml to include the following packages:
dependencies:
# Internationalization support.
flutter_localizations:
sdk: flutter
intl: any # Use the pinned version from flutter_localizations
# Rest of dependencies
iOS Applications
iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.
First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.
Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.
Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the WiredashLocalizations.supportedLocales property.
- Implementers
- WiredashLocalizationsAr
- WiredashLocalizationsCs
- WiredashLocalizationsDa
- WiredashLocalizationsDe
- WiredashLocalizationsEn
- WiredashLocalizationsEs
- WiredashLocalizationsFa
- WiredashLocalizationsFr
- WiredashLocalizationsHu
- WiredashLocalizationsIt
- WiredashLocalizationsNo
- WiredashLocalizationsPl
- WiredashLocalizationsPt
- WiredashLocalizationsTr
Constructors
- WiredashLocalizations(String locale)
Properties
- backdropReturnToApp → String
-
No description provided for @backdropReturnToApp.
no setter
- feedbackBackButton → String
-
No description provided for @feedbackBackButton.
no setter
- feedbackCloseButton → String
-
No description provided for @feedbackCloseButton.
no setter
- feedbackDiscardButton → String
-
No description provided for @feedbackDiscardButton.
no setter
- feedbackDiscardConfirmButton → String
-
No description provided for @feedbackDiscardConfirmButton.
no setter
- feedbackNextButton → String
-
No description provided for @feedbackNextButton.
no setter
- feedbackStep1MessageBreadcrumbTitle → String
-
No description provided for @feedbackStep1MessageBreadcrumbTitle.
no setter
- feedbackStep1MessageDescription → String
-
No description provided for @feedbackStep1MessageDescription.
no setter
- feedbackStep1MessageErrorMissingMessage → String
-
No description provided for @feedbackStep1MessageErrorMissingMessage.
no setter
- feedbackStep1MessageHint → String
-
No description provided for @feedbackStep1MessageHint.
no setter
- feedbackStep1MessageTitle → String
-
No description provided for @feedbackStep1MessageTitle.
no setter
- feedbackStep2LabelsBreadcrumbTitle → String
-
No description provided for @feedbackStep2LabelsBreadcrumbTitle.
no setter
- feedbackStep2LabelsDescription → String
-
No description provided for @feedbackStep2LabelsDescription.
no setter
- feedbackStep2LabelsTitle → String
-
No description provided for @feedbackStep2LabelsTitle.
no setter
- feedbackStep3GalleryBreadcrumbTitle → String
-
No description provided for @feedbackStep3GalleryBreadcrumbTitle.
no setter
- feedbackStep3GalleryDescription → String
-
No description provided for @feedbackStep3GalleryDescription.
no setter
- feedbackStep3GalleryTitle → String
-
No description provided for @feedbackStep3GalleryTitle.
no setter
- feedbackStep3ScreenshotBarCaptureButton → String
-
No description provided for @feedbackStep3ScreenshotBarCaptureButton.
no setter
- feedbackStep3ScreenshotBarDrawTitle → String
-
No description provided for @feedbackStep3ScreenshotBarDrawTitle.
no setter
- feedbackStep3ScreenshotBarDrawUndoButton → String
-
No description provided for @feedbackStep3ScreenshotBarDrawUndoButton.
no setter
-
No description provided for @feedbackStep3ScreenshotBarNavigateTitle.
no setter
- feedbackStep3ScreenshotBarOkButton → String
-
No description provided for @feedbackStep3ScreenshotBarOkButton.
no setter
- feedbackStep3ScreenshotBarSaveButton → String
-
No description provided for @feedbackStep3ScreenshotBarSaveButton.
no setter
- feedbackStep3ScreenshotBottomBarTitle → String
-
No description provided for @feedbackStep3ScreenshotBottomBarTitle.
no setter
- feedbackStep3ScreenshotOverviewAddScreenshotButton → String
-
No description provided for @feedbackStep3ScreenshotOverviewAddScreenshotButton.
no setter
- feedbackStep3ScreenshotOverviewBreadcrumbTitle → String
-
No description provided for @feedbackStep3ScreenshotOverviewBreadcrumbTitle.
no setter
- feedbackStep3ScreenshotOverviewDescription → String
-
No description provided for @feedbackStep3ScreenshotOverviewDescription.
no setter
- feedbackStep3ScreenshotOverviewSkipButton → String
-
No description provided for @feedbackStep3ScreenshotOverviewSkipButton.
no setter
- feedbackStep3ScreenshotOverviewTitle → String
-
No description provided for @feedbackStep3ScreenshotOverviewTitle.
no setter
- feedbackStep4EmailBreadcrumbTitle → String
-
No description provided for @feedbackStep4EmailBreadcrumbTitle.
no setter
- feedbackStep4EmailDescription → String
-
No description provided for @feedbackStep4EmailDescription.
no setter
- feedbackStep4EmailInputHint → String
-
No description provided for @feedbackStep4EmailInputHint.
no setter
- feedbackStep4EmailInvalidEmail → String
-
No description provided for @feedbackStep4EmailInvalidEmail.
no setter
- feedbackStep4EmailTitle → String
-
No description provided for @feedbackStep4EmailTitle.
no setter
- feedbackStep6SubmitBreadcrumbTitle → String
-
No description provided for @feedbackStep6SubmitBreadcrumbTitle.
no setter
- feedbackStep6SubmitDescription → String
-
No description provided for @feedbackStep6SubmitDescription.
no setter
- feedbackStep6SubmitSubmitButton → String
-
No description provided for @feedbackStep6SubmitSubmitButton.
no setter
- feedbackStep6SubmitSubmitDetailsTitle → String
-
No description provided for @feedbackStep6SubmitSubmitDetailsTitle.
no setter
- feedbackStep6SubmitSubmitHideDetailsButton → String
-
No description provided for @feedbackStep6SubmitSubmitHideDetailsButton.
no setter
- feedbackStep6SubmitSubmitShowDetailsButton → String
-
No description provided for @feedbackStep6SubmitSubmitShowDetailsButton.
no setter
- feedbackStep6SubmitTitle → String
-
No description provided for @feedbackStep6SubmitTitle.
no setter
- feedbackStep7SubmissionErrorMessage → String
-
No description provided for @feedbackStep7SubmissionErrorMessage.
no setter
- feedbackStep7SubmissionInFlightMessage → String
-
No description provided for @feedbackStep7SubmissionInFlightMessage.
no setter
- feedbackStep7SubmissionOpenErrorButton → String
-
No description provided for @feedbackStep7SubmissionOpenErrorButton.
no setter
- feedbackStep7SubmissionRetryButton → String
-
No description provided for @feedbackStep7SubmissionRetryButton.
no setter
- feedbackStep7SubmissionSuccessMessage → String
-
No description provided for @feedbackStep7SubmissionSuccessMessage.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- localeName → String
-
final
- promoterScoreBackButton → String
-
No description provided for @promoterScoreBackButton.
no setter
- promoterScoreNextButton → String
-
No description provided for @promoterScoreNextButton.
no setter
- promoterScoreStep1Description → String
-
No description provided for @promoterScoreStep1Description.
no setter
- promoterScoreStep1Question → String
-
No description provided for @promoterScoreStep1Question.
no setter
- promoterScoreStep2MessageHint → String
-
No description provided for @promoterScoreStep2MessageHint.
no setter
- promoterScoreStep2MessageTitle → String
-
No description provided for @promoterScoreStep2MessageTitle.
no setter
- promoterScoreStep3ThanksMessageDetractors → String
-
No description provided for @promoterScoreStep3ThanksMessageDetractors.
no setter
- promoterScoreStep3ThanksMessagePassives → String
-
No description provided for @promoterScoreStep3ThanksMessagePassives.
no setter
- promoterScoreStep3ThanksMessagePromoters → String
-
No description provided for @promoterScoreStep3ThanksMessagePromoters.
no setter
- promoterScoreSubmitButton → String
-
No description provided for @promoterScoreSubmitButton.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
feedbackStepXOfY(
int current, int total) → String - No description provided for @feedbackStepXOfY.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
promoterScoreStep2MessageDescription(
int rating) → String - No description provided for @promoterScoreStep2MessageDescription.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → WiredashLocalizations
Constants
-
delegate
→ const LocalizationsDelegate<
WiredashLocalizations> -
localizationsDelegates
→ const List<
LocalizationsDelegate> - A list of this localizations delegate along with the default localizations delegates.
-
supportedLocales
→ const List<
Locale> - A list of this localizations delegate's supported locales.