ExtendSelectionToLineBreakIntent constructor

const ExtendSelectionToLineBreakIntent({
  1. required bool forward,
  2. required bool collapseSelection,
  3. bool collapseAtReversal = false,
  4. bool continuesAtWrap = false,
})

Creates an ExtendSelectionToLineBreakIntent.

Implementation

const ExtendSelectionToLineBreakIntent({
  required bool forward,
  required bool collapseSelection,
  bool collapseAtReversal = false,
  bool continuesAtWrap = false,
}) : assert(!collapseSelection || !collapseAtReversal),
     super(forward, collapseSelection, collapseAtReversal, continuesAtWrap);