toSelectableText method
SelectableText
toSelectableText({
- TextStyle? style,
- double? fontSize,
- String? fontFamily,
- FontWeight? fontWeight,
- TextAlign? textAlign,
- Color? color,
- TextDecoration? textDecoration,
Implementation
SelectableText toSelectableText({
TextStyle? style,
double? fontSize,
String? fontFamily,
FontWeight? fontWeight,
TextAlign? textAlign,
Color? color,
TextDecoration? textDecoration,
}) {
return SelectableText(
this,
textAlign: textAlign,
style: style ??
TextStyle(
fontSize: fontSize,
fontFamily: fontFamily,
fontWeight: fontWeight,
color: color,
decoration: textDecoration,
),
);
}