TextKit.bodySmall constructor
TextKit.bodySmall(})
Creates a Body Small text style (12sp, Regular).
Implementation
factory TextKit.bodySmall(
String title, {
Key? key,
Color? color,
TextAlign? align,
int? maxLines,
TextOverflow? overflow,
double? height,
}) {
return TextKit(
key: key,
title: title,
size: 12,
color: color ?? Colors.black54,
weight: FontWeight.w400,
align: align,
maxLines: maxLines,
overflow: overflow,
height: height ?? 1.5,
);
}