Text.body constructor

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

Implementation

const Text.body(
  this.text, {
  this.color = TextColor.muted,
  this.align,
  this.style,
  super.key,
})  : size = FontSize.base,
      weight = null,
      lineHeight = LineHeight.relaxed,
      letterSpacing = null,
      colorCustom = null,
      decoration = null,
      transform = null,
      family = null,
      fontStyle = null,
      overflow = null,
      whiteSpace = null,
      maxLines = null,
      selectable = true,
      element = 'p';