widget method

Widget widget(
  1. BuildContext context
)
override

Implementation

widget(context) => SelectableText(
      this.text ?? "",
      key: key,
      style: this.style?.value,
      strutStyle: this.strutStyle?.value,
      textAlign: this.textAlign ?? TextAlign.left,
      textDirection: this.textDirection ?? TextDirection.ltr,
      textScaleFactor: this.textScaleFactor ?? 1.0,
      autofocus: autofocus ?? false,
      minLines: minLines,
      maxLines: maxLines,
      showCursor: showCursor ?? false,
      cursorWidth: cursorWidth ?? 2,
      cursorHeight: cursorHeight,
      cursorRadius: cursorRadius,
      cursorColor: cursorColor,
      selectionHeightStyle: selectionHeightStyle ?? ui.BoxHeightStyle.tight,
      selectionWidthStyle: selectionWidthStyle ?? ui.BoxWidthStyle.tight,
      enableInteractiveSelection: enableInteractiveSelection ?? true,
      selectionControls: selectionControls,
      dragStartBehavior: dragStartBehavior ?? DragStartBehavior.start,
      toolbarOptions: toolbarOptions,
      onTap: onTap,
      scrollPhysics: scrollPhysics,
      textWidthBasis: textWidthBasis ?? TextWidthBasis.parent,
      textHeightBehavior: textHeightBehavior,
      onSelectionChanged: onSelectionChanged,
    );