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