ExtendedTextSelection constructor

const ExtendedTextSelection({
  1. GestureTapCallback? onTap,
  2. bool? softWrap,
  3. Locale? locale,
  4. TextDirection? textDirection,
  5. TextAlign? textAlign,
  6. int? maxLines,
  7. double? textScaleFactor,
  8. TextOverflow? overflow,
  9. InlineSpan? text,
  10. Color? selectionColor,
  11. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  12. String? data,
  13. TextSelectionControls? textSelectionControls,
  14. TextWidthBasis? textWidthBasis,
  15. TextHeightBehavior? textHeightBehavior,
  16. BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight,
  17. BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight,
  18. TextOverflowWidget? overFlowWidget,
  19. StrutStyle? strutStyle,
  20. ShouldShowSelectionHandlesCallback? shouldShowSelectionHandles,
  21. TextSelectionGestureDetectorBuilderCallback? textSelectionGestureDetectorBuilder,
  22. Key? key,
})

Implementation

const ExtendedTextSelection({
  this.onTap,
  this.softWrap,
  this.locale,
  this.textDirection,
  this.textAlign,
  this.maxLines,
  this.textScaleFactor,
  this.overflow,
  this.text,
  this.selectionColor,
  this.dragStartBehavior = DragStartBehavior.start,
  this.data,
  this.textSelectionControls,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionHeightStyle = BoxHeightStyle.tight,
  this.selectionWidthStyle = BoxWidthStyle.tight,
  this.overFlowWidget,
  this.strutStyle,
  this.shouldShowSelectionHandles,
  this.textSelectionGestureDetectorBuilder,
  Key? key,
}) : super(key: key);