ThemeLayerInteraction constructor
const
ThemeLayerInteraction({
- double buttonRadius = 10,
- double strokeWidth = 1.2,
- double borderElementWidth = 7,
- double borderElementSpace = 5,
- Color borderColor = Colors.blue,
- SystemMouseCursor removeCursor = SystemMouseCursors.click,
- SystemMouseCursor rotateScaleCursor = SystemMouseCursors.click,
- SystemMouseCursor editCursor = SystemMouseCursors.click,
- SystemMouseCursor hoverCursor = SystemMouseCursors.move,
- LayerInteractionBorderStyle borderStyle = LayerInteractionBorderStyle.solid,
- bool showTooltips = false,
Creates a new instance of ThemeLayerInteraction.
- The buttonRadius defaults to
10.0
. - The strokeWidth defaults to
1.2
. - The borderElementWidth defaults to
7.0
. - The borderElementSpace defaults to
5.0
. - The borderColor defaults to
blue
. - The removeCursor defaults to SystemMouseCursors.click.
- The rotateScaleCursor defaults to SystemMouseCursors.click.
- The hoverCursor defaults to SystemMouseCursors.move.
- The borderStyle defaults to LayerInteractionBorderStyle.solid.
- The showTooltips defaults to
false
.
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,
});