lineLimit method
- int limit
Changes the DefaultTextStyle.maxLines for this widget.
Implementation
Widget lineLimit(int limit) {
return DefaultTextStyle(
maxLines: limit,
style: style!,
child: this,
);
}
Changes the DefaultTextStyle.maxLines for this widget.
Widget lineLimit(int limit) {
return DefaultTextStyle(
maxLines: limit,
style: style!,
child: this,
);
}