const
RichSelectableText(- TextSpan textSpan,
- {Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- double? textScaleFactor,
- bool showCursor,
- bool autofocus,
- int? minLines,
- int? maxLines,
- double cursorWidth,
- double? cursorHeight,
- Radius? cursorRadius,
- Color? cursorColor,
- BoxHeightStyle selectionHeightStyle,
- BoxWidthStyle selectionWidthStyle,
- DragStartBehavior dragStartBehavior,
- bool enableInteractiveSelection,
- Callback? onTap,
- ScrollPhysics? scrollPhysics,
- String? semanticsLabel,
- TextHeightBehavior? textHeightBehavior,
- TextWidthBasis? textWidthBasis}
)
Implementation
const factory RichSelectableText(final TextSpan textSpan,
{final Key? key,
final TextStyle? style,
final StrutStyle? strutStyle,
final TextAlign? textAlign,
final TextDirection? textDirection,
final double? textScaleFactor,
final bool showCursor,
final bool autofocus,
final int? minLines,
final int? maxLines,
final double cursorWidth,
final double? cursorHeight,
final Radius? cursorRadius,
final Color? cursorColor,
final BoxHeightStyle selectionHeightStyle,
final BoxWidthStyle selectionWidthStyle,
final DragStartBehavior dragStartBehavior,
final bool enableInteractiveSelection,
final Callback? onTap,
final ScrollPhysics? scrollPhysics,
final String? semanticsLabel,
final TextHeightBehavior? textHeightBehavior,
final TextWidthBasis? textWidthBasis}) = _$RichSelectableText;