const
Heading(- {Key? key,
- required String text,
- String? color,
- String? fontFamily,
- String? fontSize,
- String? fontStyle,
- String? fontWeight,
- String? letterSpacing,
- String? lineHeight,
- String? textAlign,
- String? textDecoration,
- String? textTransform,
- String? size = 'lg'}
)
Implementation
const Heading({
super.key,
required super.text,
super.color,
super.fontFamily,
super.fontSize,
super.fontStyle,
super.fontWeight,
super.letterSpacing,
super.lineHeight,
super.textAlign,
super.textDecoration,
super.textTransform,
this.size = 'lg',
});