bodySmallText function
dynamic
bodySmallText(
- dynamic context,
- dynamic text, {
- dynamic maxLines,
- dynamic align,
Implementation
bodySmallText(context, text, {maxLines, align}) {
return Text(text ?? "null",
maxLines: maxLines ?? 2,
textAlign: align ?? TextAlign.start,
style: Theme.of(context).textTheme.bodySmall);
}