bodyLarge static method
Text
bodyLarge(
- String text, {
- Color? color,
- FontWeight? fontWeight,
- TextAlign textAlign = TextAlign.start,
- TextOverflow? overflow,
- int? maxLine,
"bodyLarge" style text
Implementation
static Text bodyLarge(
String text, {
Color? color,
FontWeight? fontWeight,
TextAlign textAlign = TextAlign.start,
TextOverflow? overflow,
int? maxLine,
}) {
return Text(text,
overflow: (overflow != null
? overflow
: (maxLine != null && maxLine > 0
? TextOverflow.ellipsis
: TextOverflow.visible)),
maxLines: maxLine,
style: _merge(TGView.textTheme().bodyLarge, color, fontWeight),
textAlign: textAlign);
}