FlutterQuillLocalizations class abstract
Callers can lookup localized strings with an instance of FlutterQuillLocalizations
returned by FlutterQuillLocalizations.of(context)
.
Applications need to include FlutterQuillLocalizations.delegate()
in their app's
localizationDelegates
list, and the locales they support in the app's
supportedLocales
list. For example:
import 'generated/quill_localizations.dart';
return MaterialApp(
localizationsDelegates: FlutterQuillLocalizations.localizationsDelegates,
supportedLocales: FlutterQuillLocalizations.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 FlutterQuillLocalizations.supportedLocales property.
Constructors
- FlutterQuillLocalizations(String locale)
Properties
- alignCenter → String
-
No description provided for @alignCenter.
no setter
- alignJustify → String
-
Justify the text over the full window width
no setter
- alignLeft → String
-
No description provided for @alignLeft.
no setter
- alignRight → String
-
No description provided for @alignRight.
no setter
- apply → String
-
No description provided for @apply.
no setter
- backgroundColor → String
-
No description provided for @backgroundColor.
no setter
- bold → String
-
No description provided for @bold.
no setter
- bulletList → String
-
No description provided for @bulletList.
no setter
- camera → String
-
No description provided for @camera.
no setter
- caseSensitive → String
-
No description provided for @caseSensitive.
no setter
- caseSensitivityAndWholeWordSearch → String
-
No description provided for @caseSensitivityAndWholeWordSearch.
no setter
- checkedList → String
-
No description provided for @checkedList.
no setter
- clear → String
-
No description provided for @clear.
no setter
- clearFormat → String
-
No description provided for @clearFormat.
no setter
- close → String
-
No description provided for @close.
no setter
- codeBlock → String
-
No description provided for @codeBlock.
no setter
- color → String
-
No description provided for @color.
no setter
- copy → String
-
No description provided for @copy.
no setter
- cut → String
-
No description provided for @cut.
no setter
- decreaseIndent → String
-
No description provided for @decreaseIndent.
no setter
- edit → String
-
No description provided for @edit.
no setter
- enterLink → String
-
No description provided for @enterLink.
no setter
- enterMedia → String
-
No description provided for @enterMedia.
no setter
- errorUnexpectedSavingImage → String
-
A generic error message shown when an image cannot be saved due to an unknown issue
no setter
- errorWhileSavingImage → String
-
No description provided for @errorWhileSavingImage.
no setter
- findText → String
-
No description provided for @findText.
no setter
- font → String
-
No description provided for @font.
no setter
- fontColor → String
-
No description provided for @fontColor.
no setter
- fontFamily → String
-
No description provided for @fontFamily.
no setter
- fontSize → String
-
No description provided for @fontSize.
no setter
- gallery → String
-
No description provided for @gallery.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerStyle → String
-
No description provided for @headerStyle.
no setter
- heading1 → String
-
No description provided for @heading1.
no setter
- heading2 → String
-
No description provided for @heading2.
no setter
- heading3 → String
-
No description provided for @heading3.
no setter
- heading4 → String
-
No description provided for @heading4.
no setter
- heading5 → String
-
No description provided for @heading5.
no setter
- heading6 → String
-
No description provided for @heading6.
no setter
- height → String
-
No description provided for @height.
no setter
- hex → String
-
No description provided for @hex.
no setter
- huge → String
-
No description provided for @huge.
no setter
- image → String
-
No description provided for @image.
no setter
- increaseIndent → String
-
No description provided for @increaseIndent.
no setter
- inlineCode → String
-
No description provided for @inlineCode.
no setter
- insertImage → String
-
No description provided for @insertImage.
no setter
- insertTable → String
-
No description provided for @insertTable.
no setter
- insertURL → String
-
No description provided for @insertURL.
no setter
- insertVideo → String
-
No description provided for @insertVideo.
no setter
- italic → String
-
No description provided for @italic.
no setter
- justifyWinWidth → String
-
No description provided for @justifyWinWidth.
no setter
- large → String
-
No description provided for @large.
no setter
- lineheight → String
-
No description provided for @lineheight.
no setter
- link → String
-
No description provided for @link.
no setter
- localeName → String
-
final
- material → String
-
No description provided for @material.
no setter
- moveToNextOccurrence → String
-
No description provided for @moveToNextOccurrence.
no setter
- moveToPreviousOccurrence → String
-
No description provided for @moveToPreviousOccurrence.
no setter
- normal → String
-
No description provided for @normal.
no setter
- numberedList → String
-
No description provided for @numberedList.
no setter
- ok → String
-
No description provided for @ok.
no setter
- open → String
-
No description provided for @open.
no setter
- openFile → String
-
Label for the button that opens the file
no setter
- openFileLocation → String
-
Label for the button that opens the file explorer to the file's location
no setter
- openGallery → String
-
Label for the button that opens the system gallery
no setter
- paste → String
-
No description provided for @paste.
no setter
- pasteAPhotoUsingALink → String
-
No description provided for @pasteAPhotoUsingALink.
no setter
- pasteAVideoUsingALink → String
-
No description provided for @pasteAVideoUsingALink.
no setter
- pasteLink → String
-
No description provided for @pasteLink.
no setter
- photo → String
-
No description provided for @photo.
no setter
- pickAPhotoFromYourGallery → String
-
No description provided for @pickAPhotoFromYourGallery.
no setter
- pickAVideoFromYourGallery → String
-
No description provided for @pickAVideoFromYourGallery.
no setter
- pleaseEnterAValidImageURL → String
-
No description provided for @pleaseEnterAValidImageURL.
no setter
- pleaseEnterAValidVideoURL → String
-
No description provided for @pleaseEnterAValidVideoURL.
no setter
- pleaseEnterTextForYourLink → String
-
No description provided for @pleaseEnterTextForYourLink.
no setter
- pleaseEnterTheLinkURL → String
-
No description provided for @pleaseEnterTheLinkURL.
no setter
- quote → String
-
No description provided for @quote.
no setter
- recordAVideoUsingYourCamera → String
-
No description provided for @recordAVideoUsingYourCamera.
no setter
- redo → String
-
No description provided for @redo.
no setter
- remove → String
-
No description provided for @remove.
no setter
- resize → String
-
No description provided for @resize.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- save → String
-
No description provided for @save.
no setter
- saved → String
-
No description provided for @saved.
no setter
- savedUsingLocalStorage → String
-
No description provided for @savedUsingLocalStorage.
no setter
- savedUsingTheNetwork → String
-
No description provided for @savedUsingTheNetwork.
no setter
- saveImagePermissionDenied → String
-
Message shown when the app is unable to save an image because a required permission was denied or skipped
no setter
- search → String
-
No description provided for @search.
no setter
- searchSettings → String
-
No description provided for @searchSettings.
no setter
- selectColor → String
-
No description provided for @selectColor.
no setter
- size → String
-
No description provided for @size.
no setter
- small → String
-
No description provided for @small.
no setter
- strikeThrough → String
-
No description provided for @strikeThrough.
no setter
- subscript → String
-
No description provided for @subscript.
no setter
- successImageDownloaded → String
-
Message shown on web when an image is successfully downloaded
no setter
- successImageSaved → String
-
Message shown on desktop when an image is successfully saved. The user is prompted to open the file location
no setter
- successImageSavedGallery → String
-
Message shown when an image is successfully saved to the system gallery
no setter
- superscript → String
-
No description provided for @superscript.
no setter
- takeAPhotoUsingYourCamera → String
-
No description provided for @takeAPhotoUsingYourCamera.
no setter
- text → String
-
No description provided for @text.
no setter
- textDirection → String
-
No description provided for @textDirection.
no setter
- underline → String
-
No description provided for @underline.
no setter
- undo → String
-
No description provided for @undo.
no setter
- video → String
-
No description provided for @video.
no setter
- visitLink → String
-
No description provided for @visitLink.
no setter
- wholeWord → String
-
No description provided for @wholeWord.
no setter
- width → String
-
No description provided for @width.
no setter
- zoom → String
-
No description provided for @zoom.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
theImageHasBeenSavedAt(
String imagePath) → String - A message with a single parameter
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → FlutterQuillLocalizations?
Constants
-
delegate
→ const LocalizationsDelegate<
FlutterQuillLocalizations> -
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.