Text.caption constructor
const
Text.caption(
- String text, {
- TextColor? color = TextColor.subtle,
- TextAlign? align,
- ArcaneStyleData? style,
- Key? key,
Implementation
const Text.caption(
this.text, {
this.color = TextColor.subtle,
this.align,
this.style,
super.key,
}) : size = FontSize.xs,
weight = null,
lineHeight = null,
letterSpacing = null,
colorCustom = null,
decoration = null,
transform = null,
family = null,
fontStyle = null,
overflow = null,
whiteSpace = null,
maxLines = null,
selectable = true,
element = 'span';