Text.sectionTitle constructor

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

Implementation

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