nonSelectable method

Padding nonSelectable()

Implementation

Padding nonSelectable() {
  return Padding(
    padding: EdgeInsets.all(marginAll ?? 0),
    child: Text(
      text,
      maxLines: maxLines,
      selectionColor:
          selectionColor ?? const Color.fromARGB(83, 33, 149, 243),
      textAlign: textAlign ?? TextAlign.left,
      style: style ??
          TextStyle(
            color: textColor ?? Colors.black,
            fontWeight: fontWeight ?? FontWeight.normal,
            fontSize: fontSize ?? 14,
          ),
    ),
  );
}