TextKit constructor

const TextKit({
  1. Key? key,
  2. required String title,
  3. required double size,
  4. required Color color,
  5. required FontWeight weight,
  6. TextAlign? align,
  7. double? height,
  8. double? letterSpacing,
  9. int? maxLines,
  10. TextOverflow? overflow,
})

Creates a TextKit widget.

All parameters except title are required when using the default

Implementation

const TextKit({
  super.key,
  required this.title,
  required this.size,
  required this.color,
  required this.weight,
  this.align,
  this.height,
  this.letterSpacing,
  this.maxLines,
  this.overflow,
});