NikuSelectableText constructor

NikuSelectableText(
  1. String? text, {
  2. Key? key,
  3. NikuTextStyle? style,
  4. NikuStrutStyle? strutStyle,
  5. TextAlign? textAlign,
  6. TextDirection? textDirection,
  7. double? textScaleFactor,
  8. bool? autofocus,
  9. int? minLines,
  10. int? maxLines,
  11. bool? showCursor,
  12. double? cursorWidth,
  13. double? cursorHeight,
  14. Radius? cursorRadius,
  15. Color? cursorColor,
  16. BoxHeightStyle? selectionHeightStyle,
  17. BoxWidthStyle? selectionWidthStyle,
  18. bool? enableInteractiveSelection,
  19. TextSelectionControls? selectionControls,
  20. DragStartBehavior? dragStartBehavior,
  21. ToolbarOptions? toolbarOptions,
  22. GestureTapCallback? onTap,
  23. ScrollPhysics? scrollPhysics,
  24. TextWidthBasis? textWidthBasis,
  25. TextHeightBehavior? textHeightBehavior,
  26. SelectionChangedCallback? onSelectionChanged,
})

Implementation

NikuSelectableText(
  this.text, {
  Key? key,
  this.style,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.textScaleFactor,
  this.autofocus,
  this.minLines,
  this.maxLines,
  this.showCursor,
  this.cursorWidth,
  this.cursorHeight,
  this.cursorRadius,
  this.cursorColor,
  this.selectionHeightStyle,
  this.selectionWidthStyle,
  this.enableInteractiveSelection,
  this.selectionControls,
  this.dragStartBehavior,
  this.toolbarOptions,
  this.onTap,
  this.scrollPhysics,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.onSelectionChanged,
}) : super(key: key);