Text.heading2 constructor

const Text.heading2(
  1. String text, {
  2. TextColor? color = TextColor.primary,
  3. TextAlign? align,
  4. ArcaneStyleData? style,
  5. Key? key,
})

Implementation

const Text.heading2(
  this.text, {
  this.color = TextColor.primary,
  this.align,
  this.style,
  super.key,
}) : size = FontSize.xl2,
     weight = FontWeight.w600,
     lineHeight = LineHeight.snug,
     letterSpacing = null,
     colorCustom = null,
     decoration = null,
     transform = null,
     family = null,
     fontStyle = null,
     overflow = null,
     whiteSpace = null,
     maxLines = null,
     selectable = true,
     element = 'h3';