DragTextSelection constructor

const DragTextSelection({
  1. TextAffinity affinity = TextAffinity.downstream,
  2. int baseOffset = 0,
  3. int extentOffset = 0,
  4. bool isDirectional = false,
  5. bool first = true,
})

Implementation

const DragTextSelection({
  TextAffinity affinity = TextAffinity.downstream,
  int baseOffset = 0,
  int extentOffset = 0,
  bool isDirectional = false,
  this.first = true,
}) : super(
        baseOffset: baseOffset,
        extentOffset: extentOffset,
        affinity: affinity,
        isDirectional: isDirectional,
      );