titleSmall static method
Text
titleSmall(
- String text, {
- Color? color,
- FontWeight? fontWeight,
- TextAlign textAlign = TextAlign.start,
- TextOverflow? overflow,
- int? maxLine,
"titleSmall" style text
Implementation
static Text titleSmall(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().titleSmall, color, fontWeight),
//style: TextStyle(fontFamily: fontFamily, color: Colors.red, fontWeight: FontWeight.bold),
textAlign: textAlign);
}