Text.pageTitle constructor
const
Text.pageTitle(
- String text, {
- TextColor? color = TextColor.primary,
- TextAlign? align,
- ArcaneStyleData? style,
- 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';