TextKit.labelLarge constructor

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

Creates a Label Large text style (14sp, Medium).

Implementation

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