ThemeLayerInteraction constructor

const ThemeLayerInteraction({
  1. double buttonRadius = 10,
  2. double strokeWidth = 1.2,
  3. double borderElementWidth = 7,
  4. double borderElementSpace = 5,
  5. Color borderColor = Colors.blue,
  6. SystemMouseCursor removeCursor = SystemMouseCursors.click,
  7. SystemMouseCursor rotateScaleCursor = SystemMouseCursors.click,
  8. SystemMouseCursor editCursor = SystemMouseCursors.click,
  9. SystemMouseCursor hoverCursor = SystemMouseCursors.move,
  10. LayerInteractionBorderStyle borderStyle = LayerInteractionBorderStyle.solid,
  11. bool showTooltips = false,
})

Creates a new instance of ThemeLayerInteraction.

Implementation

const ThemeLayerInteraction({
  this.buttonRadius = 10,
  this.strokeWidth = 1.2,
  this.borderElementWidth = 7,
  this.borderElementSpace = 5,
  this.borderColor = Colors.blue,
  this.removeCursor = SystemMouseCursors.click,
  this.rotateScaleCursor = SystemMouseCursors.click,
  this.editCursor = SystemMouseCursors.click,
  this.hoverCursor = SystemMouseCursors.move,
  this.borderStyle = LayerInteractionBorderStyle.solid,
  this.showTooltips = false,
});