Text.pageTitle constructor

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

Implementation

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