NikuSelectableText constructor
NikuSelectableText(
- String? text, {
- Key? key,
- NikuTextStyle? style,
- NikuStrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- double? textScaleFactor,
- bool? autofocus,
- int? minLines,
- int? maxLines,
- bool? showCursor,
- double? cursorWidth,
- double? cursorHeight,
- Radius? cursorRadius,
- Color? cursorColor,
- BoxHeightStyle? selectionHeightStyle,
- BoxWidthStyle? selectionWidthStyle,
- bool? enableInteractiveSelection,
- TextSelectionControls? selectionControls,
- DragStartBehavior? dragStartBehavior,
- ToolbarOptions? toolbarOptions,
- GestureTapCallback? onTap,
- ScrollPhysics? scrollPhysics,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- 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);