SelectionEdgeUpdateEvent.forEnd constructor
- required Offset globalPosition,
- TextGranularity? granularity,
Creates a selection end edge update event.
The globalPosition contains the new location of the selection end edge.
The granularity
contains the granularity which the selection edge should move by.
This value defaults to TextGranularity.character.
Implementation
const SelectionEdgeUpdateEvent.forEnd({
required this.globalPosition,
TextGranularity? granularity
}) : granularity = granularity ?? TextGranularity.character, super._(SelectionEventType.endEdgeUpdate);