I18n class
The I18n class provides internationalization settings for the image editor
and its components. It includes translations and messages for various parts
of the editor.
Usage:
I18n i18n = I18n(
  various: I18nVarious(
    // Define various translations...
  ),
  paintEditor: I18nPaintingEditor(
    // Define painting editor translations...
  ),
  textEditor: I18nTextEditor(
    // Define text editor translations...
  ),
  cropRotateEditor: I18nCropRotateEditor(
    // Define crop and rotate editor translations...
  ),
  filterEditor: I18nFilterEditor(
    // Define filter editor translations...
  ),
  blurEditor: I18nBlurEditor(
    // Define blur editor translations...
  ),
  emojiEditor: I18nEmojiEditor(
    // Define emoji editor translations...
  ),
  cancel: 'Cancel',
  undo: 'Undo',
  redo: 'Redo',
  done: 'Done',
  doneLoadingMsg: 'Changes are being applied',
);
Properties:
- 
various: Translations and messages for various parts of the editor. - 
paintEditor: Translations and messages specific to the painting editor. - 
textEditor: Translations and messages specific to the text editor. - 
cropRotateEditor: Translations and messages specific to the crop and rotate editor. - 
filterEditor: Translations and messages specific to the filter editor. - 
blurEditor: Translations and messages specific to the blur editor. - 
emojiEditor: Translations and messages specific to the emoji editor. - 
cancel: The text for the "Cancel" button. - 
undo: The text for the "Undo" action. - 
redo: The text for the "Redo" action. - 
done: The text for the "Done" action. - 
remove: The text for the "Remove" action. - 
doneLoadingMsg: The message displayed when changes are being applied. 
Example Usage:
I18n i18n = I18n(
  various: I18nVarious(
    // Define various translations...
  ),
  paintEditor: I18nPaintingEditor(
    // Define painting editor translations...
  ),
  // Access other translations and messages...
);
String cancelText = i18n.cancel;
String undoText = i18n.undo;
// Access other translations and messages...
Constructors
- I18n({I18nLayerInteraction layerInteraction = const I18nLayerInteraction(), I18nPaintingEditor paintEditor = const I18nPaintingEditor(), I18nTextEditor textEditor = const I18nTextEditor(), I18nCropRotateEditor cropRotateEditor = const I18nCropRotateEditor(), I18nFilterEditor filterEditor = const I18nFilterEditor(), I18nBlurEditor blurEditor = const I18nBlurEditor(), I18nEmojiEditor emojiEditor = const I18nEmojiEditor(), I18nStickerEditor stickerEditor = const I18nStickerEditor(), I18nVarious various = const I18nVarious(), String importStateHistoryMsg = '', String cancel = '', String undo = '', String redo = '', String done = '', String remove = '', String doneLoadingMsg = ''})
 - 
          Creates an instance of I18n with customizable internationalization settings.
            const
 
Properties
- blurEditor → I18nBlurEditor
 - 
  Translations and messages specific to the blur editor.
  final
 - cancel → String
 - 
  Text for the "Cancel" action.
  final
 - cropRotateEditor → I18nCropRotateEditor
 - 
  Translations and messages specific to the crop and rotate editor.
  final
 - done → String
 - 
  Text for the "Done" action.
  final
 - doneLoadingMsg → String
 - 
  Message displayed while changes are being applied.
  final
 - emojiEditor → I18nEmojiEditor
 - 
  Translations and messages specific to the emoji editor.
  final
 - filterEditor → I18nFilterEditor
 - 
  Translations and messages specific to the filter editor.
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - importStateHistoryMsg → String
 - 
  Message displayed during the import of state history.
If the text is empty, no loading dialog will be shown.
  final
 - layerInteraction → I18nLayerInteraction
 - 
  Translations and messages for layer interactions.
  final
 - paintEditor → I18nPaintingEditor
 - 
  Translations and messages specific to the painting editor.
  final
 - redo → String
 - 
  Text for the "Redo" action.
  final
 - remove → String
 - 
  Text for the "Remove" action.
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - stickerEditor → I18nStickerEditor
 - 
  Translations and messages specific to the sticker editor.
  final
 - textEditor → I18nTextEditor
 - 
  Translations and messages specific to the text editor.
  final
 - undo → String
 - 
  Text for the "Undo" action.
  final
 - various → I18nVarious
 - 
  Translations and messages for various parts of the editor.
  final
 
Methods
- 
  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