DirectionalCaretMovementIntent constructor
Creates a DirectionalCaretMovementIntent.
Implementation
const DirectionalCaretMovementIntent(
super.forward,
this.collapseSelection, [
this.collapseAtReversal = false,
this.continuesAtWrap = false,
]) : assert(!collapseSelection || !collapseAtReversal);