FormBuilderLocalizationsImpl class abstract
Callers can lookup localized strings with an instance of FormBuilderLocalizationsImpl
returned by FormBuilderLocalizationsImpl.of(context)
.
Applications need to include FormBuilderLocalizationsImpl.delegate()
in their app's
localizationDelegates
list, and the locales they support in the app's
supportedLocales
list. For example:
import 'intl/messages.dart';
return MaterialApp(
localizationsDelegates: FormBuilderLocalizationsImpl.localizationsDelegates,
supportedLocales: FormBuilderLocalizationsImpl.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 FormBuilderLocalizationsImpl.supportedLocales property.
- Implementers
- FormBuilderLocalizationsImplAr
- FormBuilderLocalizationsImplBg
- FormBuilderLocalizationsImplBn
- FormBuilderLocalizationsImplBs
- FormBuilderLocalizationsImplCa
- FormBuilderLocalizationsImplCs
- FormBuilderLocalizationsImplDa
- FormBuilderLocalizationsImplDe
- FormBuilderLocalizationsImplEl
- FormBuilderLocalizationsImplEn
- FormBuilderLocalizationsImplEs
- FormBuilderLocalizationsImplEt
- FormBuilderLocalizationsImplFa
- FormBuilderLocalizationsImplFi
- FormBuilderLocalizationsImplFr
- FormBuilderLocalizationsImplHe
- FormBuilderLocalizationsImplHi
- FormBuilderLocalizationsImplHr
- FormBuilderLocalizationsImplHu
- FormBuilderLocalizationsImplId
- FormBuilderLocalizationsImplIt
- FormBuilderLocalizationsImplJa
- FormBuilderLocalizationsImplKm
- FormBuilderLocalizationsImplKo
- FormBuilderLocalizationsImplKu
- FormBuilderLocalizationsImplLo
- FormBuilderLocalizationsImplMn
- FormBuilderLocalizationsImplMs
- FormBuilderLocalizationsImplNe
- FormBuilderLocalizationsImplNl
- FormBuilderLocalizationsImplNo
- FormBuilderLocalizationsImplPl
- FormBuilderLocalizationsImplPt
- FormBuilderLocalizationsImplRo
- FormBuilderLocalizationsImplRu
- FormBuilderLocalizationsImplSk
- FormBuilderLocalizationsImplSl
- FormBuilderLocalizationsImplSq
- FormBuilderLocalizationsImplSv
- FormBuilderLocalizationsImplSw
- FormBuilderLocalizationsImplTa
- FormBuilderLocalizationsImplTh
- FormBuilderLocalizationsImplTr
- FormBuilderLocalizationsImplUk
- FormBuilderLocalizationsImplVi
- FormBuilderLocalizationsImplZh
Constructors
- FormBuilderLocalizationsImpl(String locale)
Properties
- alphabeticalErrorText → String
-
No description provided for @alphabeticalErrorText.
no setter
- base64ErrorText → String
-
No description provided for @base64ErrorText.
no setter
- bicErrorText → String
-
No description provided for @bicErrorText.
no setter
- cityErrorText → String
-
No description provided for @cityErrorText.
no setter
- containsElementErrorText → String
-
No description provided for @containsElementErrorText.
no setter
- countryErrorText → String
-
No description provided for @countryErrorText.
no setter
- creditCardCVCErrorText → String
-
No description provided for @creditCardCVCErrorText.
no setter
- creditCardErrorText → String
-
No description provided for @creditCardErrorText.
no setter
- creditCardExpirationDateErrorText → String
-
No description provided for @creditCardExpirationDateErrorText.
no setter
- creditCardExpiredErrorText → String
-
No description provided for @creditCardExpiredErrorText.
no setter
- dateMustBeInTheFutureErrorText → String
-
No description provided for @dateMustBeInTheFutureErrorText.
no setter
- dateMustBeInThePastErrorText → String
-
No description provided for @dateMustBeInThePastErrorText.
no setter
- dateStringErrorText → String
-
No description provided for @dateStringErrorText.
no setter
- dunsErrorText → String
-
No description provided for @dunsErrorText.
no setter
- emailErrorText → String
-
No description provided for @emailErrorText.
no setter
- evenNumberErrorText → String
-
No description provided for @evenNumberErrorText.
no setter
- fileNameErrorText → String
-
No description provided for @fileNameErrorText.
no setter
- firstNameErrorText → String
-
No description provided for @firstNameErrorText.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ibanErrorText → String
-
No description provided for @ibanErrorText.
no setter
- integerErrorText → String
-
No description provided for @integerErrorText.
no setter
- invalidMimeTypeErrorText → String
-
No description provided for @invalidMimeTypeErrorText.
no setter
- ipErrorText → String
-
No description provided for @ipErrorText.
no setter
- isbnErrorText → String
-
No description provided for @isbnErrorText.
no setter
- jsonErrorText → String
-
No description provided for @jsonErrorText.
no setter
- languageCodeErrorText → String
-
No description provided for @languageCodeErrorText.
no setter
- lastNameErrorText → String
-
No description provided for @lastNameErrorText.
no setter
- latitudeErrorText → String
-
No description provided for @latitudeErrorText.
no setter
- licensePlateErrorText → String
-
No description provided for @licensePlateErrorText.
no setter
- localeName → String
-
final
- longitudeErrorText → String
-
No description provided for @longitudeErrorText.
no setter
- lowercaseErrorText → String
-
No description provided for @lowercaseErrorText.
no setter
- macAddressErrorText → String
-
No description provided for @macAddressErrorText.
no setter
- matchErrorText → String
-
No description provided for @matchErrorText.
no setter
- mustBeFalseErrorText → String
-
No description provided for @mustBeFalseErrorText.
no setter
- mustBeTrueErrorText → String
-
No description provided for @mustBeTrueErrorText.
no setter
- negativeNumberErrorText → String
-
No description provided for @negativeNumberErrorText.
no setter
- notZeroNumberErrorText → String
-
No description provided for @notZeroNumberErrorText.
no setter
- numericErrorText → String
-
No description provided for @numericErrorText.
no setter
- oddNumberErrorText → String
-
No description provided for @oddNumberErrorText.
no setter
- passportNumberErrorText → String
-
No description provided for @passportNumberErrorText.
no setter
- pathErrorText → String
-
No description provided for @pathErrorText.
no setter
- phoneErrorText → String
-
No description provided for @phoneErrorText.
no setter
- positiveNumberErrorText → String
-
No description provided for @positiveNumberErrorText.
no setter
- primeNumberErrorText → String
-
No description provided for @primeNumberErrorText.
no setter
- requiredErrorText → String
-
No description provided for @requiredErrorText.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleLineErrorText → String
-
No description provided for @singleLineErrorText.
no setter
- ssnErrorText → String
-
No description provided for @ssnErrorText.
no setter
- stateErrorText → String
-
No description provided for @stateErrorText.
no setter
- streetErrorText → String
-
No description provided for @streetErrorText.
no setter
- timeErrorText → String
-
No description provided for @timeErrorText.
no setter
- timezoneErrorText → String
-
No description provided for @timezoneErrorText.
no setter
- uniqueErrorText → String
-
No description provided for @uniqueErrorText.
no setter
- uppercaseErrorText → String
-
No description provided for @uppercaseErrorText.
no setter
- urlErrorText → String
-
No description provided for @urlErrorText.
no setter
- usernameCannotContainDashesErrorText → String
-
No description provided for @usernameCannotContainDashesErrorText.
no setter
- usernameCannotContainDotsErrorText → String
-
No description provided for @usernameCannotContainDotsErrorText.
no setter
- usernameCannotContainNumbersErrorText → String
-
No description provided for @usernameCannotContainNumbersErrorText.
no setter
- usernameCannotContainSpacesErrorText → String
-
No description provided for @usernameCannotContainSpacesErrorText.
no setter
- usernameCannotContainSpecialCharErrorText → String
-
No description provided for @usernameCannotContainSpecialCharErrorText.
no setter
- usernameCannotContainUnderscoreErrorText → String
-
No description provided for @usernameCannotContainUnderscoreErrorText.
no setter
- usernameErrorText → String
-
No description provided for @usernameErrorText.
no setter
- uuidErrorText → String
-
No description provided for @uuidErrorText.
no setter
- vinErrorText → String
-
No description provided for @vinErrorText.
no setter
- zipCodeErrorText → String
-
No description provided for @zipCodeErrorText.
no setter
Methods
-
betweenErrorText(
Object max, Object min) → String - No description provided for @betweenErrorText.
-
colorCodeErrorText(
Object colorCode) → String - No description provided for @colorCodeErrorText.
-
containsErrorText(
Object value) → String - No description provided for @containsErrorText.
-
containsLowercaseCharErrorText(
Object min) → String - No description provided for @containsLowercaseCharErrorText.
-
containsNumberErrorText(
Object min) → String - No description provided for @containsNumberErrorText.
-
containsSpecialCharErrorText(
Object min) → String - No description provided for @containsSpecialCharErrorText.
-
containsUppercaseCharErrorText(
Object min) → String - No description provided for @containsUppercaseCharErrorText.
-
dateRangeErrorText(
Object max, Object min) → String - No description provided for @dateRangeErrorText.
-
endsWithErrorText(
Object value) → String - No description provided for @endsWithErrorText.
-
equalErrorText(
Object value) → String - No description provided for @equalErrorText.
-
equalLengthErrorText(
Object length) → String - No description provided for @equalLengthErrorText.
-
fileExtensionErrorText(
Object extensions) → String - No description provided for @fileExtensionErrorText.
-
fileSizeErrorText(
Object fileSize, Object maxSize) → String - No description provided for @fileSizeErrorText.
-
maxErrorText(
Object max) → String - No description provided for @maxErrorText.
-
maxLengthErrorText(
Object maxLength) → String - No description provided for @maxLengthErrorText.
-
maxWordsCountErrorText(
Object maxWordsCount) → String - No description provided for @maxWordsCountErrorText.
-
minErrorText(
Object min) → String - No description provided for @minErrorText.
-
minLengthErrorText(
Object minLength) → String - No description provided for @minLengthErrorText.
-
minWordsCountErrorText(
Object minWordsCount) → String - No description provided for @minWordsCountErrorText.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEqualErrorText(
Object value) → String - No description provided for @notEqualErrorText.
-
portNumberErrorText(
Object max, Object min) → String - No description provided for @portNumberErrorText.
-
startsWithErrorText(
Object value) → String - No description provided for @startsWithErrorText.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → FormBuilderLocalizationsImpl
Constants
-
delegate
→ const LocalizationsDelegate<
FormBuilderLocalizationsImpl> -
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.