|
|
|
@ -29,20 +29,25 @@ extension TextExtension on Text {
|
|
|
|
|
Text get black65 =>
|
|
|
|
|
Text(this.data, style: this.style?.black65 ?? TextStyle().black65);
|
|
|
|
|
|
|
|
|
|
Text lines(int maxLines){
|
|
|
|
|
Text lines(int maxLines) {
|
|
|
|
|
return Text(
|
|
|
|
|
this.data,
|
|
|
|
|
maxLines: maxLines,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Text over(TextOverflow textOverflow){
|
|
|
|
|
Text over(TextOverflow textOverflow) {
|
|
|
|
|
return Text(
|
|
|
|
|
this.data,
|
|
|
|
|
overflow:textOverflow,
|
|
|
|
|
overflow: textOverflow,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Text get light => Text(
|
|
|
|
|
this.data,
|
|
|
|
|
style: this.style?.light ?? TextStyle().light,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Text copyWith({
|
|
|
|
|
FontWeight fontWeight,
|
|
|
|
|
Color color,
|
|
|
|
|