TextKit.labelSmall constructor

TextKit.labelSmall(
  1. String title, {
  2. Key? key,
  3. Color? color,
  4. TextAlign? align,
  5. int? maxLines,
  6. TextOverflow? overflow,
})

Creates a Label Small text style (11sp, Regular).

Implementation

factory TextKit.labelSmall(
  String title, {
  Key? key,
  Color? color,
  TextAlign? align,
  int? maxLines,
  TextOverflow? overflow,
}) {
  return TextKit(
    key: key,
    title: title,
    size: 11,
    color: color ?? Colors.black54,
    weight: FontWeight.w400,
    align: align,
    maxLines: maxLines,
    overflow: overflow,
  );
}