I18nLayerInteraction constructor

const I18nLayerInteraction({
  1. String remove = 'Remove',
  2. String edit = 'Edit',
  3. String rotateScale = 'Rotate and Scale',
})

Creates an instance of I18nLayerInteraction with customizable internationalization settings for layer interactions.

You can provide translations for the actions related to layer interactions, ensuring a consistent experience in the user's preferred language.

Example:

I18nLayerInteraction(
  remove: 'Remove',
  edit: 'Edit',
  rotateScale: 'Rotate and Scale',
)

Implementation

const I18nLayerInteraction({
  this.remove = 'Remove',
  this.edit = 'Edit',
  this.rotateScale = 'Rotate and Scale',
});