TextKit.displaySmall constructor
TextKit.displaySmall(})
Creates a Display Small text style (36sp, Regular).
Implementation
factory TextKit.displaySmall(
String title, {
Key? key,
Color? color,
TextAlign? align,
int? maxLines,
TextOverflow? overflow,
}) {
return TextKit(
key: key,
title: title,
size: 36,
color: color ?? Colors.black,
weight: FontWeight.w400,
align: align,
maxLines: maxLines,
overflow: overflow,
);
}