bodySmallText function

dynamic bodySmallText(
  1. dynamic context,
  2. dynamic text, {
  3. dynamic maxLines,
  4. 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);
}