TextKit.headlineSmall constructor
TextKit.headlineSmall(})
Creates a Headline Small text style (24sp, SemiBold).
Implementation
factory TextKit.headlineSmall(
String title, {
Key? key,
Color? color,
TextAlign? align,
int? maxLines,
TextOverflow? overflow,
}) {
return TextKit(
key: key,
title: title,
size: 24,
color: color ?? Colors.black,
weight: FontWeight.w600,
align: align,
maxLines: maxLines,
overflow: overflow,
);
}