text method
Text
text({
- Key? key,
- TextStyle? style,
- TextAlign? align,
- TextOverflow? overflow,
- int? maxLines,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- StrutStyle? strutStyle,
Wraps the string in a standard Text widget.
Implementation
Text text({
Key? key,
TextStyle? style,
TextAlign? align,
TextOverflow? overflow,
int? maxLines,
TextDirection? textDirection,
Locale? locale,
bool? softWrap,
StrutStyle? strutStyle,
}) {
return Text(
this,
key: key,
style: style,
textAlign: align,
overflow: overflow,
maxLines: maxLines,
textDirection: textDirection,
locale: locale,
softWrap: softWrap,
strutStyle: strutStyle,
);
}