SubHeading constructor
const
SubHeading({
- Key? key,
- TextStyle? textStyle,
- double? fontSize,
- double? wordSpacing,
- double? letterSpacing,
- Color? color,
- Color? backgroundColor,
- FontWeight? fontWeight,
- String? fontFamily,
- Paint? background,
- Paint? foreground,
- TextDecoration? decoration,
- List<
Shadow> ? shadows, - TextBaseline? textBaseline,
- FontStyle? fontStyle,
- TextOverflow? overflow,
- TextAlign? textAlign,
- required String text,
Constructs a SubHeading widget.
The text
parameter is required and represents the text to be displayed in the subheading.
The other parameters are optional and allow customization of the subheading's appearance.
Implementation
const SubHeading({
Key? key,
this.textStyle,
this.fontSize,
this.wordSpacing,
this.letterSpacing,
this.color,
this.backgroundColor,
this.fontWeight,
this.fontFamily,
this.background,
this.foreground,
this.decoration,
this.shadows,
this.textBaseline,
this.fontStyle,
this.overflow,
this.textAlign,
required this.text,
}) : super(key: key);