onSelectable method

Padding onSelectable()

Implementation

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