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